Closed Kamlesh364 closed 1 year ago
It seems your input training command is not complete (the path of the config file is missing). please have a look at the training procedure (https://github.com/robail-yasrab/RootNav-2.0/blob/master/training/README.md), and used this command. python training.py train --config ./path/to/config.yml
Command----
kamlesh@kamlesh-Y530-15ICH:~/RootNav-2.0/training$ python3 training.py train
Error---
RUNDIR: runs/rootnav2/65093 Dataset Loading from ./OSR_Root_dataset/ /home/kamlesh/.local/lib/python3.8/site-packages/torch/nn/_reduction.py:42: UserWarning: size_average and reduce args will be deprecated, please use reduction='mean' instead. warnings.warn(warning.format(ret)) Starting training /home/kamlesh/.local/lib/python3.8/site-packages/torch/optim/lr_scheduler.py:138: 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 https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate warnings.warn("Detected call of `lr_scheduler.step()` before `optimizer.step()`. " Killed
@mikepound @robail-yasrab Please look into the problem and help me solve this issue.