Open
Description
Branch
main branch (mmpretrain version)
Describe the bug
similar to open-mmlab/mmengine#1616
Environment
none
Other information
quick fix, modify get_version
in setup.py
:
def get_version():
version_dict = {}
version_file = 'mmpretrain/version.py'
with open(version_file, 'r', encoding='utf-8') as f:
exec(compile(f.read(), version_file, 'exec'), version_dict)
return version_dict['__version__']
Metadata
Metadata
Assignees
Labels
No labels