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

No module named 'aim.sdk.session #9

Closed
jianzhengming opened this issue Oct 31, 2021 · 3 comments
Closed

No module named 'aim.sdk.session #9

jianzhengming opened this issue Oct 31, 2021 · 3 comments

Comments

@jianzhengming
Copy link

jianzhengming commented Oct 31, 2021

Hi, thanks for your nice work.
However, when I ran the follow code you provide:
for DATASET in 'cola' 'sst2' 'mrpc' 'qqp' 'stsb' 'mnli' 'rte' 'wnli' 'qnli'
do
export HPARAMS='{
"dataset": "'$DATASET'",
"lr": 0.0001,
"num_epochs": 20,
"prompts": [],
"reorder_optimized": false,
"max_batch_size": 8,
"max_tokens_sq": 262144, "on_logits": false, "pooling_index": null, "seed": 1}'
python3 -m allennlp train
-s .aim/baseline-linear-${DATASET} configs/warp.jsonnet
done
,
I encountered the follow problem:
ModuleNotFoundError: No module named 'aim.sdk.session'.
And I check the version of package "aim = 3.0.2" and the functions in aim.sdk. I did not find the function "session".
Do I get the wrong aim version?

@mahnerak
Copy link
Member

mahnerak commented Nov 1, 2021

Yes, it does not work with aim v3 yet. Please make sure installing aim v2.

@jianzhengming
Copy link
Author

Hi, I'm still confused. I process the "pip install aim==2", yet it encounters the PackageNotFoundError. I track the documentation about the aim package (https://aimstack.readthedocs.io/en/latest/overview.html), and I cannot find the any information about the function "aim.sdk.session".

@jianzhengming
Copy link
Author

Hi, I fix this problem by pip install aim=2.3.

And I closed this issue. Thanks for your answers.

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