HKU-Smart-Mobility-Lab / Transportation_Simulator

MIT License
29 stars 9 forks source link

Missing file under 'matching' mode #28

Closed KL4805 closed 11 months ago

KL4805 commented 11 months ago

Hi authors,

I tried to study matching, and so I set 'rl_mode' to 'matching' in config.py.

Now, when I start to run python3 simulator/main.py, an error popped out

Traceback (most recent call last):
  File "simulator/main.py", line 256, in <module>
    pickle.dump(simulator.record,open("output3/order_record-1103.pickle","wb"))
FileNotFoundError: [Errno 2] No such file or directory: 'output3/order_record-1103.pickle'

It seems that an important file is missing for running matching. Could you please check?

Caffretro commented 11 months ago

It suggests that the directory output3 for file dumping does not exist. You can simply create a directory called output3 or modify any code segments related to file I/O to resolve FileNotFoundErrors.