linevd icon indicating copy to clipboard operation
linevd copied to clipboard

Some problem about running 'getgraphs.py'

Open Wangel515 opened this issue 2 years ago • 8 comments

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! WEBa93c0641691543540b11d8c5f836a652

WEB2c6b443b5058cbd8cef336976f9568f8

Wangel515 avatar Nov 21 '22 08:11 Wangel515

I have the same problem ,too

lc338310659 avatar Dec 22 '22 02:12 lc338310659

@lc338310659 hello,请问你解决了吗?

Wangel515 avatar Feb 21 '23 08:02 Wangel515

能问一下 ,问题解决了吗

xixihahaAnZai avatar Mar 17 '23 08:03 xixihahaAnZai

I have the same problem ,too

wyabo avatar Mar 22 '23 11:03 wyabo

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.

wwptrdo avatar Mar 04 '24 03:03 wwptrdo

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.

Book-can avatar Sep 09 '24 03:09 Book-can