Hi,
i was following the tutorial on jetson-inference by Dusty on jetson-inference
i am getting warning messages when i executed the following command
python3 train_ssd.py --model=models/vehicle --batch-size=4 --workers=2 --epochs=30 --data=data/vehicle
May i know whether this is normal ? Is there something i should note ?
2021-05-25 04:23:48 - Validation dataset size: 2516
2021-05-25 04:23:48 - Build network.
2021-05-25 04:23:48 - Init from pretrained ssd models/mobilenet-v1-ssd-mp-0_675.pth
2021-05-25 04:23:48 - Took 0.56 seconds to load the model.
2021-05-25 04:24:02 - Learning rate: 0.01, Base net learning rate: 0.001, Extra Layers learning rate: 0.01.
2021-05-25 04:24:02 - Uses CosineAnnealingLR scheduler.
2021-05-25 04:24:02 - Start training from epoch 0.
/usr/local/lib/python3.6/dist-packages/torch/optim/lr_scheduler.py:123: UserWarning: Detected call of lr_scheduler.step()
before optimizer.step()
. In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step()
before lr_scheduler.step()
. Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at torch.optim — PyTorch 1.8.1 documentation
“torch.optim — PyTorch 1.8.1 documentation”, UserWarning)
/usr/local/lib/python3.6/dist-packages/torch/nn/_reduction.py:44: UserWarning: size_average and reduce args will be deprecated, please use reduction=‘sum’ instead.
warnings.warn(warning.format(ret))