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

Some problems about simulations generation #1

Open
alantes opened this issue Feb 13, 2024 · 0 comments
Open

Some problems about simulations generation #1

alantes opened this issue Feb 13, 2024 · 0 comments

Comments

@alantes
Copy link

alantes commented Feb 13, 2024

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!

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