Skip to content

Some problems about simulations generation #1

@alantes

Description

@alantes

Hi researchers,

Thank you for your marvellous work! I really enjoy your idea presented and am trying to get the project run on my own computer. However, I have problems running

python3 -m train_sim fit --config configs/sim.yaml --data.data_path <path/to/extracted/sim/dataset/folder> --config configs/logging_sim.yaml

even though I have already run:

python3 -m src.dataset_util.src.generate_dataset_meta <path/to/dataset> <number of samples> --n_workers <number of processes>
python3 -m src.dataset_util.src.visualize_dataset <path/to/dataset> <sample index> <filename_a.pdf> # Optional
python3 -m src.dataset_util.src.compute_cost_to_goal <path/to/dataset> --path_start_dist <distance in meter> --n_workers <number of processes> --n_paths <number of paths>
python3 -m src.dataset_util.src.visualize_dataset <path/to/dataset> <sample index> <filename_b.pdf> # Optional

The problems I have met are:

  1. What should <path/to/extracted/sim/dataset/folder> be? I have generated the dataset in the./dataset folder. And the json files are stored in .dataset/meta/
  2. When I set <path/to/extracted/sim/dataset/folder> as dataset. I got FileNotFound Error: "No such file or directory: '/xxx/dataset/sensor_polar_0/008007.png'". I do not have a sensor_polar_0 folder in my dataset folder. I wonder if there is something missing for the Simulation Dataset in the README guidance?
  3. When I set <path/to/extracted/sim/dataset/folder> as dataset/meta, I got ValueError: "ValueError('num_samples should be a positive integer value, but got num_samples=0')". I think this indicates that <path/to/extracted/sim/dataset/folder> should be set to the dataset folder?

To conclude, I think there is something missing in the date generation process about how how convert the json files into pictures that pytorch lightening can take as training data. I would really appreciate it if you can provide me with some guidelines about how to tackle the issue.

Thank you in advance!

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