Closed sophia723 closed 7 years ago
It seems that you didn't provide any required arguments to sampling_class.py
.
If you just want to run the already provided example 1, you can run ./1_class_conditional_sampling.sh 13
as written in the readme. You can look at that bash file to learn what args to pass.
Hi @anguyen8
Thanks for sharing the code. I'm trying to implement the first example you provide, however when I run "python sampling_class.py", I got this error:
Traceback (most recent call last): File "sampling_class.py", line 272, in
main()
File "samplingclass.py", line 230, in main
conditions = [ { "unit": int(u), "xy": args.xy } for u in args.units.split("") ]
AttributeError: 'NoneType' object has no attribute 'split'
Any idea of what's going on?