Comments (10)
Has started training successfully, following the steps:
- download pretrained weight from the README.md
- use the path to the pretrained weight as the CHECK_POINT in train_mobilenetdet_on_kitti.sh
- modify the file "checkpoint" inside the pretrained weight folder: update the path to local pretrained weight file. For example:
model_checkpoint_path: "MobileNet/data/mobilenetdet-model/model.ckpt-906808"
all_model_checkpoint_paths: "MobileNet/data/mobilenetdet-model/model.ckpt-906808"
from mobilenet.
Thank you. This was very valuable advice to me!
from mobilenet.
i download pretrained weight from the README.md, but got loss nan. what is the problem do you know?
from mobilenet.
python2 will be fine
from mobilenet.
python2 will be fine
@lijunhong5457 do you mean, after using python2 instead of python3, the nan loss error vanished?
from mobilenet.
yes, when change python3 to python2 , there is no problem to train it.
i modify the checkpoint like below:
model_checkpoint_path: model.ckpt-906808"
all_model_checkpoint_paths: "model.ckpt-906808"
and I save the checkpoint to CHECK_POINT folder. it works well.
from mobilenet.
Thanks for letting me know that, @lijunhong5457 . But I am still facing InvalidArgumentError due to NaNs in the histograms. Have you ever faced that? Here is a snippet.
InvalidArgumentError (see above for traceback): Nan in summary histogram for: MobileNet/conv_ds_3/dw_batch_norm/moving_variance_1
[[Node: MobileNet/conv_ds_3/dw_batch_norm/moving_variance_1 = HistogramSummary[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](MobileNet/conv_ds_3/dw_batch_norm/moving_variance_1/tag, MobileNet/conv_ds_3/dw_batch_norm/moving_variance/read)]]
[[Node: fifo_queue_Dequeue/_1 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_56_fifo_queue_Dequeue", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]
from mobilenet.
@Santara I think that your checkpoint was improperly modified, resulting in incorrect initial parameter loading. For checkpoint, don't add new lines or spaces manually, just modify them on the original basis. But the premise is that you modify the path so that the program can find the model.
from mobilenet.
@Santara when you get loss nan, you should clear train_dir to avoid that program load wrong parameter.
from mobilenet.
Thank you for all the help, @lijunhon - but even after doing everything you suggested, I am still getting NaN in summary histograms. Is it because I am running on a CPU? It should not be, right?
from mobilenet.
Related Issues (20)
- Test single image HOT 3
- How to run in terminal?
- Mobile Net Detection Reshape Problem
- Poor performance on large objects?
- Depthwise convolution
- mobilenet_v1_eval.py has a big bug? HOT 3
- how to set the train and val datasets folder name.
- Do we need to preprocess, i.e. resize images to a fixed predefined image input resolution (for example 256*256) on our own, in order to train properly?
- Using eval_image_classifier.py HOT 1
- during classification ,I am doing performance testing on AWS with inception model flask api with gunicorn (creating multiple process) Error: OOM when allocating tensor with shape[800,1280,3] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [[Node: Cast = CastDstT=DT_FLOAT, SrcT=DT_UINT8, _device="/job:localhost/replica:0/task:0/device:GPU:0"]] Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
- Loss does not converge HOT 4
- how to train my own classifier with mobilenet
- mobilenet not work HOT 1
- 超参数设置问题
- consul upgrade election error
- What's the meaning of the parameter: group ?
- how to usa VGG to train 448*448 size picture
- 这个官方提供的slim练习代码吗?
- 文献公式解释
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 mobilenet.