File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -321,12 +321,12 @@ def train_one_epoch(epoch_index, tb_writer):
321321
322322#########################################################################
323323# To load a saved version of the model:
324- #
325- # ::
326- #
327- # saved_model = GarmentClassifier()
328- # saved_model.load_state_dict(torch.load(PATH))
329- #
324+ #
325+ # .. code:: python
326+ #
327+ # saved_model = GarmentClassifier()
328+ # saved_model.load_state_dict(torch.load(PATH))
329+ #
330330# Once you’ve loaded the model, it’s ready for whatever you need it for -
331331# more training, inference, or analysis.
332332#
Original file line number Diff line number Diff line change 204204 'pytorch_project' : 'tutorials' ,
205205 'collapse_navigation' : False ,
206206 'display_version' : True ,
207+ 'navigation_with_keys' : True ,
207208 'logo_only' : False ,
208209 'analytics_id' : 'UA-117752657-2' ,
209210}
You can’t perform that action at this time.
0 commit comments