zhreshold / mxnet-ssd

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

Get error during "Train the model" stage #213

Closed WIll-Xu35 closed 6 years ago

WIll-Xu35 commented 6 years ago

Hi there, I'm trying to implement mxnet-ssd by following your instructions. But I got error while executing "bash tools/prepare_pascal.sh". The error message is in the the attachment.

Could you please help me find out what is wrong with my approach?

Thanks!

im2rec

zhreshold commented 6 years ago

--shuffle and --pack-label no longer take 1 as argument in latest mxnet. So you can simply remove them in prepare_pascal.sh

WIll-Xu35 commented 6 years ago

OMG, thanks!

WIll-Xu35 commented 6 years ago

This line that gets me error message seems to be in prepare_dataset.py. Do I have to delete the entire line or I have to change some parameters to meet the requirements of the latest mxnet? And once the training set is not shuffled, will there be a problem getting a good performance?

Thanks!

zhreshold commented 6 years ago

previous usage is --shuffle 1 or --shuffle 0, but now it defaults to use shuffle, and user can use --no-shuffle for validation dataset.

"And once the training set is not shuffled, will there be a problem getting a good performance?" - Yes

WIll-Xu35 commented 6 years ago

I deleted those parameters in prepare_dataset.py and it seems to work fine. Many thanks!