Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running scripts to reproduce results (dataset setup and run examples) #2

Open
binshaea opened this issue Jan 15, 2025 · 1 comment
Open

Comments

@binshaea
Copy link

binshaea commented Jan 15, 2025

Greetings,

may someone guide a begginer in understanding this project and working with it.
I am trying to reproduce your results and explore the work more. I already installed all requirements and started to use it by running first example. I have downloaded carla data from the link provided. I placed all data under the folder (roadscene2vec_pkls) inside the scripts folder. Then when I run the first example
python 3_train_model.py --yaml_path ../config/rule_graph_risk_config.yaml
I get this:
wandb: Currently logged in as: <myusername> (I2Slab_smartcities_kaust). Usewandb login --reloginto force relogin wandb: wandb version 0.19.3 is available! To upgrade, please run: wandb: $ pip install wandb --upgrade wandb: Tracking run with wandb version 0.13.11 wandb: Run data is saved locally in /home/<myuser>/RS2G project/RS2G/scripts/wandb/run-20250115_142644-no6zkv13 wandb: Runwandb offlineto turn off syncing. wandb: Syncing run legendary-puddle-3 wandb: ⭐️ View project at https://wandb.ai/<projectname>/Explore_RS2G wandb: 🚀 View run at https://wandb.ai/<projectname>/Explore_RS2G/runs/no6zkv13 Traceback (most recent call last): File "/home/<myuser>/RS2G project/RS2G/scripts/3_train_model.py", line 44, in <module> train_Trainer(learning_config) File "/home/<myuser>/RS2G project/RS2G/scripts/3_train_model.py", line 33, in train_Trainer trainer.split_dataset() File "/home/<myuser>/RS2G project/RS2G/learning/util/scenegraph_trainer.py", line 33, in split_dataset self.training_data, self.testing_data = self.build_scenegraph_dataset() File "/home/<myuser>/RS2G project/RS2G/learning/util/scenegraph_trainer.py", line 144, in build_scenegraph_dataset self.scene_graph_dataset = scene_graph_dataset.load() File "/home/<myuser>/RS2G project/RS2G/data/dataset.py", line 49, in load with open(self.dataset_save_path, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: './roadscene2vec_pkls/271_carla_image.pkl' wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing. wandb: 🚀 View run legendary-puddle-3 at: https://wandb.ai/<projectname>/Explore_RS2G/runs/no6zkv13 wandb: Synced 6 W&B file(s), 0 media file(s), 2 artifact file(s) and 0 other file(s) wandb: Find logs at: ./wandb/run-20250115_142644-no6zkv13/logs
I was trying to understand where this file 271_carla_image.pkl can be found since it is not part of the pkl files you shared in your github.

Also do I need to do any further step regarding the roadscene2vec tool you used in addition to installing the packages and setup the environment? do we need to get data or codes from there and integrate it in RS2G?

Appreciate your help

@binshaea binshaea changed the title Running scripts to reproduce results (access of wandb account) Running scripts to reproduce results (dataset setup and run examples) Jan 15, 2025
@binshaea
Copy link
Author

Complementing to the question above:
There are some pkl files that I could not find in any of the shared links in your github (e.g. 1043_carla_image.pkl, 271_carla_image.pkl)
all what I found in the shared drive of simulated data are these :
271_carla_10frame_roadscene2vec.pkl
271_carla_image_dataset_10_frame_128x72.pkl
1043_carla_10frame_roadscene2vec.pkl
1043_carla_image_dataset_10_frame_128x72.pkl

I also went to the roascene2vec github and it does not exist there.
is it missing from the drive or is it one of the files names above?

I would appreciate if someone can guide on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant