-
Notifications
You must be signed in to change notification settings - Fork 5
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
Error when executing download.py #1
Comments
So I've figured this out. I hadn't downloaded example testing data. Anyway, now I get the following error when trying to execute main.py :
I've searched about this error and already performed the modifications suggested in https://pytorch.org/docs/stable/notes/windows.html#import-error, but I still get the same error. Iuri C Valadão |
This is a PyTorch import error. |
Hello, |
I believe you guys have different issues. The error shown in the previous threads seemed associated with PyTorch not being installed correctly. he_shg_synth_workflow/download.py Lines 29 to 38 in 17e7922
If you cannot run the download script, you can download the data and the trained model by copying and pasting these URLs to your web browser. For example, the testing data is at https://uwmadison.box.com/shared/static/nu14p71zs3dxr2eqwf4ckzy1edctpesh.zip, which is shown in line 32 |
Thank you for such a quick response. I guess what I am getting at, a user can see that they have to run the download script, but there are no instructions on where or how to do that. Where should a user run download.py script? |
Hi, you can run it using python. After the environment and dependencies are installed, just type in |
Hi, ([shg_synth]) C:\Users\chamoo>python download.py Sure, we can alternatively download the data and trained models by using the urls in the download.py script individually and I can try that next. However, I have since realised there is an updated version of the instructions at this link https://github.com/uw-loci/he_shg_synth_workflow/blob/master/README.md. But following these instructions, one does not get past the very first step of copying and pasting: without getting the error Removing the $, we get: I understand that these are extremely obvious or simple questions to people who regularly code in python, and I apologise for my questions in advance however for the average histologist who wants to apply these beautiful pipelines to their own experiments, the instructions should be complete enough that they can be followed step by step otherwise they can't be used.. |
Thanks for your feedback. Very helpful! I just updated the guide . Please check it out at your convenience and let us know if it helps. I noticed this new version has a configuration issue due to package updates and is not working on my Windows system so far. I have filed an issue and hope we can sort it out soon. |
Hi,
I've got the following error message when trying to execute download.py:
I've performed all previous steps prior to this one. Could someone help me on this ?
Thanks in advance
Iuri C Valadão
The text was updated successfully, but these errors were encountered: