Giter Site home page Giter Site logo

sdm's Issues

Code issues

Hello, thank you for open-sourcing this very great project,But I have a question I'd like to ask about the code.
I trained with your code and I found that there are a lot of graphs output, but there doesn't seem to be a trajectory diagram of the vehicle, and I would like to ask if the final output is a trajectory visualization of the vehicle interaction, or is it just these diagrams in the code.
Thank you very much for being able to answer this question.

Data issues

How do I import the data into a folder and apply it?
File "/home/hou/SDM/Scripts/SimpleSAC/envs.py", line 35, in init
for f in os.listdir(realdata_path):
FileNotFoundError: [Errno 2] No such file or directory: '../datasets/dataset/r3_dis_25_car_6'

Visualization of the problem

Hello, your code is great, but I have a problem that I can't generate an image on the visualization, and it still doesn't work after trying to change it, so I ask you to see how this error should be fixed.

Traceback (most recent call last):
File "/home/hou/SDM/Scripts/main_NSG.py", line 440, in
absl.app.run(main)
File "/home/hou/anaconda3/envs/SDM/lib/python3.9/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/hou/anaconda3/envs/SDM/lib/python3.9/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/home/hou/SDM/Scripts/main_NSG.py", line 143, in main
wandb_logger = WandbLogger(config=FLAGS.logging, variant=variant)
TypeError: init() missing 1 required positional argument: 'seed'

Source code issues

Hello, what is going on with this question, I will be very grateful for you to answer this question to me

SDM) hou@hou-System:~/SDM/Scripts$ python main_NSG.py --r_adv stackelberg3 --r_ego stackelberg --is_save True --save_model True --pretrain_ego True --adv_policy sumo --num_agents 5
0%| | 0/100 [00:00<?, ?it/s] Retrying in 1 seconds
100%|██████████████████████████████████████████████| 200/200 [00:00<00:00, 208.67it/s]
Retrying in 1 seconds███████████████████████████▍ | 193/200 [00:00<00:00, 281.79it/s]
0%| | 0/100 [00:06<?, ?it/s]
Traceback (most recent call last):
File "/home/hou/SDM/Scripts/main_NSG.py", line 440, in
absl.app.run(main)
File "/home/hou/anaconda3/envs/SDM/lib/python3.9/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/hou/anaconda3/envs/SDM/lib/python3.9/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/home/hou/SDM/Scripts/main_NSG.py", line 326, in main
eval(metrics, eval_ego_policy, FLAGS.adv_policy, trajs)
TypeError: eval expected at most 3 arguments, got 4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.