You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I am following the object detection tutorial and have copied the necessary files from pytorch/vision/main/references/detection/. When inspecting the engine.train_one_epoch() function, I see that it creates a LR scheduler (LinearLR) there and calls lr_scheduler.step() inside train_one_epoch(), however in the tutorial it also creates its own LR scheduler (StepLR) in the main script, and also calls lr_scheduler.step() within the training loop.
Is this meant to be the case or should the tutorial be updated?
Link to tutorial: https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html
Hi there, I am following the object detection tutorial and have copied the necessary files from
pytorch/vision/main/references/detection/
. When inspecting theengine.train_one_epoch()
function, I see that it creates a LR scheduler (LinearLR) there and callslr_scheduler.step()
insidetrain_one_epoch()
, however in the tutorial it also creates its own LR scheduler (StepLR) in the main script, and also callslr_scheduler.step()
within the training loop.Is this meant to be the case or should the tutorial be updated?
cc @datumbox @nairbv @fmassa @NicolasHug @YosuaMichael
The text was updated successfully, but these errors were encountered: