Skip to content

Commit

Permalink
v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ffiirree committed Nov 28, 2021
1 parent 518aa17 commit 5ea3663
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cvm/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def list_models(lib: str = 'all'):
assert lib in ['all', 'cvm', 'torch', 'timm'], f'Unknown library {lib}.'

if lib == 'all':
cvm_models = _filter_models(torchvision.models.__dict__, sort=True)
torch_models = _filter_models(models.__dict__, 'torch/', True)
cvm_models = _filter_models(models.__dict__, sort=True)
torch_models = _filter_models(torchvision.models.__dict__, 'torch/', sort=True)

timm_models = [
'timm/' + name for name in timm.list_models()
Expand Down
2 changes: 1 addition & 1 deletion cvm/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.1'
__version__ = '0.0.2'

0 comments on commit 5ea3663

Please sign in to comment.