MalConv-Pytorch icon indicating copy to clipboard operation
MalConv-Pytorch copied to clipboard

train.py is not working

Open noppelmax opened this issue 3 years ago • 1 comments

Hey together,

i run

(myenv) mnoppel@srv:~/projects/MalConv-Pytorch$ python3 train.py config/example.yaml 123
Usage: python3 run_exp.py <config file path> <seed>

like explained in the readme.md.

Any idea what might be wrong?

Kind regards, Max

noppelmax avatar Jan 12 '22 10:01 noppelmax

We had the same problem. This fixed it:

In train.py: change line 21 to have this Loader bit: conf = yaml.load(open(config_path,'r'), Loader=yaml.Loader)

DogmaF avatar Mar 30 '22 23:03 DogmaF