neural-combinatorial-rl-pytorch
neural-combinatorial-rl-pytorch copied to clipboard
Error when executing main.sh
I ran main.sh (bash . /main.sh), I got this error.
~Validating~
0%| | 0/1000 [00:00<?, ?it/s]
Traceback (most recent call last):
File "./trainer.py", line 297, in
I changed the argument in line 253 of neural-combratoral-ri.py to 1. Before: idxs = probs.multinomial().squeeze(1) After: idxs = probs.multinomial(1).squeeze(1)
In addition, I removed the $ mark from RANDOM_SEED=$1 because there was also an error in main.sh.