Comments (6)
Hi @Sharpiless, please check out this colab for full training scripts: https://colab.research.google.com/gist/lehduong/fba7e14367e2b5aedd8315a6518203b1/tiny_imagenet_train.ipynb
from kesi.
Hi Sharpiless. Thanks for your interest in our work. We used pre-trained models on Imagenet and fine-tune them on Tiny-Imagenet (modifying the pooling + fc layer). Did you use the same protocol?
from kesi.
Thanks for your apply! That's the settings I used for training the resnet34:
parser.add_argument('--data_root', default='data')
parser.add_argument('--model', default='resnet34_imagenet')
parser.add_argument('--dataset', default='tiny_imagenet')
parser.add_argument('--epochs', default=100, type=int, metavar='N',
help='number of total epochs to run')
parser.add_argument('-b', '--batch-size', default=128, type=int,
metavar='N',
help='mini-batch size (default: 256), this is the total '
'batch size of all GPUs on the current node when '
'using Data Parallel or Distributed Data Parallel')
parser.add_argument('--warm_up_epoches', default=10, type=int,
metavar='WPI', help='warm up epoches')
parser.add_argument('--warm_up_lr', default=0.01, type=int,
metavar='WPI', help='warm up learning rate')
parser.add_argument('--lr', '--learning-rate', default=0.1, type=float,
metavar='LR', help='initial learning rate', dest='lr')
parser.add_argument('--lr_decay_milestones', default="50,75", type=str,
help='milestones for learning rate decay')
parser.add_argument('--evaluate_only', action='store_true',
help='evaluate model on validation set')
parser.add_argument('--resume', default='', type=str, metavar='PATH',
help='path to latest checkpoint (default: none)')
parser.add_argument('--gpu', default=0, type=int,
help='GPU id to use.')
with pretrained weights on Imagenet and arguments with random crop and random flip. Could you give me some advice? Thanks a lot.
from kesi.
Training code is modified from https://github.com/zju-vipa/DataFree/blob/main/train_scratch.py
from kesi.
Hi, I'm finding my old training scripts for tiny-imagenet. I'll try to reproduce the result and send it as soon as possible.
from kesi.
Thank you very much for your timely reply and solving the problem!
from kesi.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kesi.