zhreshold / mxnet-ssd

MXNet port of SSD: Single Shot MultiBox Object Detector. Reimplementation of https://github.com/weiliu89/caffe/tree/ssd
MIT License
763 stars 336 forks source link

train.py #219

Open ssdevel opened 6 years ago

ssdevel commented 6 years ago

when i run the command: python train.py --network mobilenet --data-shape 512 --prefix C:\Users\Stefan\Desktop\MXNet\mxnet-ssd-master\output\mobilenet-ssd-512 --train-path C:\Users\Stefan\Desktop\MXNet\mxnet-ssd-master\records\train.rec --val-path C:\Users\Stefan\Desktop\MXNet\mxnet-ssd-master\records\test.rec --num-class 1 --class-names 'billboard' --lr 0.0001 --batch-size 4 --finetune 1

The training doesn't start and i get this message:

Using mxnet as: <module 'mxnet' from 'C:\Users\Stefan\Anaconda3.6\envs\mxnet\lib\site-packages\mxnet__init__.pyc'> Warning: using pre-installed version of mxnet may cause unexpected error... (export MXNET_EXAMPLE_SSD_DISABLE_PRE_INSTALLED=1) to prevent loading pre-installed mxnet. [14:32:52] c:\jenkins\workspace\mxnet\mxnet\src\io\iter_image_det_recordio.cc:281: ImageDetRecordIOParser: C:\Users\Stefan\Desktop\MXNet\mxnet-ssd-master\records\train.rec, use 3 threads for decoding..

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

tony2278 commented 6 years ago

SO do I .

https://blog.csdn.net/mangobar/article/details/81944494

Can somebody tell me WHY? TKS!

tony2278 commented 6 years ago

[16:36:11] c:\jenkins\workspace\mxnet-tag\mxnet\src\io\iter_image_det_recordio.cc:281: ImageDetRecordIOParser: D:\Workspace\mxnet-ssd\mxnet-ssd\data\train.rec, use 11 threads for decoding..

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

ssdevel commented 6 years ago

The created records are not good. Try creating them in pascal format

wisdomk commented 5 years ago

I am facing the same issue, any comment?