linevd
linevd copied to clipboard
Some problem about running 'getgraphs.py'
Hi @davidhin ,
Thank you for sharing your code!
I was trying to reproduce your work and strictly follow the commands in README.md, but the following error occurred while executing singularity exec main.sif python sastvd/scripts/getgraphs.py. I guess the problem may be caused by some parameters error? I don't known how to solve it.
Hope to reply and appreciate your help!


I have the same problem ,too
@lc338310659 hello,请问你解决了吗?
能问一下 ,问题解决了吗
I have the same problem ,too
12 NUM_JOBS = 1 13 #NUM_JOBS = 100 14 #JOB_ARRAY_NUMBER = 0 if "ipykernel" in sys.argv[0] else int(sys.argv[1]) - 1 15 JOB_ARRAY_NUMBER = 0 hello,I set the NUM_JOB=1 JOB_ARRAY_NUMBER=0 in the file "linevd/sastvd/scripts/getgraphs.py",this script can run sucessful.
12 NUM_JOBS = 1 13 #NUM_JOBS = 100 14 #JOB_ARRAY_NUMBER = 0 if "ipykernel" in sys.argv[0] else int(sys.argv[1]) - 1 15 JOB_ARRAY_NUMBER = 0 hello,I set the NUM_JOB=1 JOB_ARRAY_NUMBER=0 in the file "linevd/sastvd/scripts/getgraphs.py",this script can run sucessful.
this works for me. I guess the NUM_JOBS is a parameter for speed up, which means 100 def preprocess(row) run simultaneously. Thus, JOB_ARRAY_NUMBER should be specified when run the script.] to let every subprocess get its part of the df.