Comments (4)
Thank you for pointing my attention to this. I modified the resume training option. The issues are addressed in commit 92a2b2a.
from fast-rcnn-torch.
I've pulled your new commits, but it seems there's no error when resume training; however, the loss shows that the model is still trained from scratch.
I'm not sure if it's my problem; can you put more detail on resume training in README? Thank you.
from fast-rcnn-torch.
Sure I will. If you trained a model with this code you should be able to start from the model again. Each time the code saves the network, three files are written to disk, one contains the model weights, one contains the optimizer state which has the gradient information for applying momentum and a text file that shows what was the configuration during the training.
For resuming the training, you should set the -resume_training flag to true in the config file and set the -pre_trained_file to the model that you want to continue training from (not the imagenet pre-trained model). If everything goes well you should see these lines in your terminal: "Copying weights from classifier layer!"; "Copying weights from regressor layer!"; "Preparing the regression layer weights..." and the iteration number should be started from where you stopped training your saved model. Also, if you see "The optimizer state is not found for continuing the training, a new state is being used!" it means that the optimizer state could not be accessed. Can you check the terminal output to see if these lines are printed or not?
from fast-rcnn-torch.
It's correct now, thank you very much.
from fast-rcnn-torch.
Related Issues (18)
- Error HOT 5
- GTSRB dataset HOT 1
- run demo.lua fail HOT 1
- How do I get the proposal for Mscoco? HOT 2
- Proposals file not found HOT 4
- MAP (means average precision)calculation Code HOT 2
- Training with ResNet Models
- bug in visualize_detections()?
- ERROR in ./scripts HOT 1
- Cuda runtime error
- Multi-Gpu training
- imgnet model and pretrained model retrieval scripts download same file HOT 1
- Tutorial to Train any Imagenet-like Data HOT 2
- The VGG Pre-trained model HOT 1
- Batcher Line 45, a small typo
- AlexNet performance from scratch HOT 10
- qlua: cuda runtime error (2) : out of memory HOT 2
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 fast-rcnn-torch.