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

Issue with MonteCarlo Search for initial model #2

Open
Akumarres opened this issue Jan 3, 2024 · 6 comments
Open

Issue with MonteCarlo Search for initial model #2

Akumarres opened this issue Jan 3, 2024 · 6 comments

Comments

@Akumarres
Copy link

Dear Liu,

I am also facing the issue while running the 01_3-layer-sandwitch-Multimodal.ipynb jypyter file.

please check the attached files.
Screenshot 2024-01-03 at 11-10-46 01_3-layer-sandwitch-Multimodal - Jupyter Notebook
Screenshot 2024-01-03 at 11-10-13 01_3-layer-sandwitch-Multimodal - Jupyter Notebook

I need your help to resolve the issue.
Thank you

@liufeng2317
Copy link
Owner

Hello
This error is due to inconsistent inversion of tensor. I forced all tensors to be float32. You can try to update the code and run it again.

@Akumarres
Copy link
Author

hello,
After update I am getting new error while running inversion.

Screenshot 2024-01-03 at 14-55-02 01_3-layer-sandwitch-Multimodal - Jupyter Notebook

Thank you

@liufeng2317
Copy link
Owner

this means that you not have cuda to run the code, you can change the device to "cpu"
e.g. device = "cpu"

@Akumarres
Copy link
Author

I have uses the command given below as it was recommended in README.md

$ conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c cpu

Also , all requirements are install. some of them are upgraded version.

I took time to recheck everything. I can share the list also if you needed.

Thank you.

@Akumarres
Copy link
Author

One more Information I would like to share with you.
While installing the requirement given below.

torch==1.13.1+cu116
torchaudio==0.13.1+cu116
torchvision==0.14.1+cu116

Because of "+cu116" it was showing some error message.
ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu116
etc.

Thank you

@liufeng2317
Copy link
Owner

Dear Akumarres:
Apologies for the delayed response. Based on my local testing, I'm unsure if torch version 1.13.1 can support this library. If it does, you might want to consider trying it with a newer version of torch; torch 2.0.1 has been verified to work. Rest assured, I'll update the program to accommodate a wider range of torch versions.

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