lamm-mit / LeafGAN

7 stars 0 forks source link

Error: No such option: --process Did you mean --class? #1

Open veraLiuWL opened 3 months ago

veraLiuWL commented 3 months ago

Dear professor, When I run this part of the code, I encountered an error. However, I couldn't find options like process, interpolation, and csvfile in the generator.py file. Could you please help me resolve this? Thank you.

use frames for number of steps between points in the CSV file; more frames=smoother interpolation

!python generate.py --outdir=./output_leaf/gradient/frames/ --trunc=.7 --process="interpolation" --interpolation="2Dpoint_CSV" --csvfile=./gradient.csv --frames=40 --random_seed=0 --seeds=441,593,863 --network=./leaf-network-snapshot.pkl

process into unit cells

path = "./output_leaf/gradient/frames/" dest="./output_leaf/gradient/processed/"

names, seeds, density=remove_small (path, dest, 30000, 1024,mirrorcopy=1, ressfinal=512, filt1=32, thicken=2, rect=0)

Error: No such option: --process Did you mean --class?

lamm-mit commented 3 months ago

Thanks for your interest. We updated the generate.py code in the repo, it should work now. Please let me know if you still have issues.