-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
train with mobilenet #11
Comments
I use the following script to train, bu got an error below: export CACHE_NAME=cache_voc MODEL_NAME=model_voc MODEL=model.mobilenet.MobileNet Error: epoch=0/160: 0%| | 0/518 [00:00<?, ?it/s] |
Use the latest version. I've tested MobileNet via the command arguments, no such error occurred. |
I use the latest code and still got the same error. Thanks, |
After further debugging, _center_offset expects [32,144, 52, 2], but _positive has shape [32,144, 52, 1] and this causes an error in Do you know why _positive shape is not [32, 144, 5, 2]? Thanks, |
Is the following script correct to train yolo2 with mobilenet?
python3 train.py -b 64 -lr 1e-3 -e 160 -m cache/name=cache_voc model/name=model_voc model/dnn=model.mobilenet.MobileNet train/optimizer='lambda params, lr: torch.optim.SGD(params, lr, momentum=0.9)' train/scheduler='lambda optimizer: torch.optim.lr_scheduler.MultiStepLR(optimizer, milestones=[60, 90], gamma=0.1)' -d
Thanks,
The text was updated successfully, but these errors were encountered: