Skip to content

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

@binshaea

Description

@binshaea

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions