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

Failed to Build the DiffusionBC Algorithm #40

Open
coder-wyj opened this issue Dec 13, 2024 · 1 comment
Open

Failed to Build the DiffusionBC Algorithm #40

coder-wyj opened this issue Dec 13, 2024 · 1 comment

Comments

@coder-wyj
Copy link

Hi, I'm following your tutorial and I'm having some problems trying to reproduce the results:
I failed to build the DiffusionBC algorithm in ubuntu 20.04 with minimal code.
python tutorials/1_a_minimal_DBC_implementation.py

The version of my d4rl is 1.1. And The error message is as follows:

All of online environments libraries in D4RL have been moved Gymnasium, MiniGrid and Gymnasium-Robotics, and all offline datasets in D4RL have been moved to Minari.Flow failed to import. No module named 'flow'.CARLA failed to import. No module named 'carla'

When running the code it seems to be downloading the dataset and iterating over the data like this, could you please tell me how I should download the dataset to the corresponding directory, which seems to be missing in the tutorial.

load datafile: 100%|█████████████████████████████████████████████████████████████████████| 6/6 [00:00<00:00, 941.06it/s]
[t=1000] 0.06892231322079898
[t=2000] 0.01724859829619527
[t=3000] 0.012384709483012558
[t=4000] 0.010552599522285164
[t=5000] 0.009590609390288591
[t=6000] 0.008792991515714676
[t=7000] 0.008299940711818636
[t=8000] 0.00770696653611958

@ZibinDong
Copy link
Contributor

Hello, sorry for the late reply.

First of all, I highly recommend trying the lightning branch. This version is more stable, includes additional content, and will eventually replace the current main branch. In the notebook folder of the lightning branch, you'll find tutorials written in Jupyter Notebook, making them easier to read.

If you are using the main branch, the minimal DBC implementation also has a Jupyter Notebook version, where you can find instructions on downloading the dataset.

Please let me know if you have any further questions :)

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

2 participants