mkirchler/transferGWAS

Something going wrong.

Closed this issue · 2 comments

Hello! I am spring up again. When I run the code of feature_condensation,It tell me that (layer L4)command not found.I am confused.Can you explain the reasons for the occurrence of this problem?(The detailed question is in the picture at the end of the text.)

Thank you in advance!
9ec669c6644445b21fd1c6705045964

Hi, the problem here is how you copied the command into the terminal, I think. It stopped after the last \ and the last line (--layer L4) is not used for the command (and creates a second error in bash, not the python script). Try removing the comment after the imagenet line (the # or e.g. …) or typing it out by hand.
Also, make sure that you have a GPU available and the gpu-version of pytorch installed (your env name indicates otherwise, but maybe you did it by hand, then don’t worry). If you want to run it on CPU only, put in --dev cpu instead, but it will be very slow.

Thanks for your prompt reply!
Hope you have a nice weekend!