Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinearWarmupCosineAnnealingLR import issue #28

Open
JessieJiang1011 opened this issue Mar 7, 2024 · 2 comments
Open

LinearWarmupCosineAnnealingLR import issue #28

JessieJiang1011 opened this issue Mar 7, 2024 · 2 comments

Comments

@JessieJiang1011
Copy link

Traceback (most recent call last):
  File "main.py", line 13, in <module>
    from pl_bolts.optimizers.lr_scheduler import LinearWarmupCosineAnnealingLR
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/__init__.py", line 11, in <module>
    from pl_bolts import (  # noqa: E402
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/callbacks/__init__.py", line 6, in <module>
    from pl_bolts.callbacks.ssl_online import SSLOnlineEvaluator
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/callbacks/ssl_online.py", line 12, in <module>
    from pl_bolts.models.self_supervised.evaluator import SSLEvaluator
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/models/self_supervised/__init__.py", line 21, in <module>
    from pl_bolts.models.self_supervised.cpc.cpc_module import CPC_v2
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/models/self_supervised/cpc/__init__.py", line 1, in <module>
    from pl_bolts.models.self_supervised.cpc.cpc_module import CPC_v2
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/models/self_supervised/cpc/cpc_module.py", line 14, in <module>
    from pl_bolts.datamodules.stl10_datamodule import STL10DataModule
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/datamodules/__init__.py", line 1, in <module>
    from pl_bolts.datamodules.async_dataloader import AsynchronousLoader
  File "/anaconda3/envs/arldm2/lib/python3.8/site-packages/pl_bolts/datamodules/async_dataloader.py", line 9, in <module>
    from torch._six import string_classes
ModuleNotFoundError: No module named 'torch._six'
@JessieJiang1011
Copy link
Author

I'm strictly following the process in readme, but I think there's some version conflict issue.

@S-Manasa
Copy link

S-Manasa commented Mar 14, 2024

@JessieJiang1011 Same, I'm also getting the same error. Please tell if you have resolved it and if yes, how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants