Skip to content

Commit

Permalink
add code reference
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyixiao18 committed Mar 23, 2022
1 parent cf26f68 commit 94828c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmselfsup/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ def find_latest_checkpoint(path, suffix='pth'):
latest_path(str | None): File path of the latest checkpoint.
References:
.. [1] https://github.com/microsoft/SoftTeacher
/blob/main/ssod/utils/patch.py
/blob/main/ssod/utils/patch.py
.. [2] https://github.com/open-mmlab/mmdetection
/blob/master/mmdet/utils/misc.py#L7
"""
if not osp.exists(path):
warnings.warn('The path of checkpoints does not exist.')
Expand Down

0 comments on commit 94828c1

Please sign in to comment.