Comments (11)
And qualitatively, the model also seems to move more erratically compared to the pretrained model.
combined_test.mov
from susie.
Hi Ping-C,
Can you un-comment line 198 of calvin-sim/calvin_models/calvin_agent/evaluation/diffusion_gc_policy.py
and re-evaluate? I suspect the issue is that the policy was trained with normalized actions, but is being evaluated without the assumption that actions are normalized.
from susie.
It worked! Kevin, you are amazing!
from susie.
Hello Ping-C,
I download the diffusion model and goal conditioned policy checkpoints from https://huggingface.co/patreya/susie-calvin-checkpoints and set the values of the environment variables in eval_susie.sh,
but the result is not good :
Average successful sequence length: 0.4666666666666667
Success rates for i instructions in a row:
1: 33.3%
2: 13.3%
3: 0.0%
4: 0.0%
5: 0.0%
turn_on_led: 2 / 2 | SR: 100.0%
open_drawer: 4 / 4 | SR: 100.0%
turn_on_lightbulb: 1 / 1 | SR: 100.0%
push_blue_block_right: 0 / 1 | SR: 0.0%
rotate_blue_block_right: 0 / 1 | SR: 0.0%
lift_blue_block_slider: 0 / 1 | SR: 0.0%
lift_blue_block_table: 0 / 1 | SR: 0.0%
push_pink_block_left: 0 / 2 | SR: 0.0%
move_slider_left: 0 / 3 | SR: 0.0%
push_blue_block_left: 0 / 2 | SR: 0.0%
lift_red_block_slider: 0 / 1 | SR: 0.0%
push_red_block_left: 0 / 1 | SR: 0.0%
rotate_red_block_left: 0 / 1 | SR: 0.0%
lift_red_block_table: 0 / 1 | SR: 0.0%
I noticed that you have a high success rate in evaluating pre-trained models, so I wanted to ask if there are any other operations you perform during the evaluation besides downloading the model and modifying the paths?
The actions of the robotic arm seem strange in some tasks, and I suspect that it may be an issue with GCBC.The robotic arm has even moved outside the field of view.
I would greatly appreciate it if you could tell me how to properly evaluate pre-trained models. :)
from susie.
Hi @Ping-C and @pranavatreya ,
Can you please help me? I did the same. I am trying to train the model on CALVIN dataset ABC. when I run:
python experiments/susie/calvin/calvin_gcbc.py --config experiments/susie/calvin/configs/gcbc_train_config.py:gc_ddpm_bc --calvin_dataset_config experiments/susie/calvin/configs/gcbc_data_config.py:all
I got that error: Traceback (most recent call last): File "experiments/susie/calvin/calvin_gcbc.py", line 186, in app.run(main) File "/home/gaurav/miniconda3/envs/susie-calvin/lib/python3.8/site-packages/absl/app.py", line 308, in run run_main(main, args) File "/home/gaurav/miniconda3/envs/susie-calvin/lib/python3.8/site-packages/absl/app.py", line 254, in run_main sys.exit(main(argv)) File "experiments/susie/calvin/calvin_gcbc.py", line 77, in main task_paths = [ File "experiments/susie/calvin/calvin_gcbc.py", line 78, in glob_to_path_list( File "/media/local/gaurav/Music/calvin-sim/bridge_data_v2/jaxrl_m/data/calvin_dataset.py", line 27, in glob_to_path_list assert len(filtered_paths) > 0, f"{glob_str} came up empty" AssertionError: training/A/?/? came up empty
I ensured that the dataset is located at the path expected by the script. The glob pattern training/A/?/? suggests it's looking for directories or files within training/A/ where each subdirectory in A has a single-character name. so what should I do?
I will appreciate your help. Thanks in advance!
Have you converted the dataset into tfrecord format?
from susie.
@houyaokun Hi, have you solved the problem? I am struggling with the same issue. 😭
from susie.
@houyaokun Hi, have you solved the problem? I am struggling with the same issue. 😭
yeah,os.environ.pop("DISPLAY")
may work.
from susie.
@houyaokun Thank you for your quick reply. 😄 Actually, I am having problem with reproduction. My results are so bad with the provided pre-trained models. How did you handle this problem? Thank you so much for your reply. I am struggling with this about a week.
from susie.
@Ping-C Hi, I am struggling with the performance. I did all things same as they told me to do. But the performance is bad on provided pre-trained models. How did you reproduce? Is there anything else I need to do besides the default settings?
from susie.
@houyaokun Thank you for your quick reply. 😄 Actually, I am having problem with reproduction. My results are so bad with the provided pre-trained models. How did you handle this problem? Thank you so much for your reply. I am struggling with this about a week.
For me,I simply addedos.environ.pop("DISPLAY")
.By doing this, you will be able to use EGL normally. Otherwise, you will have a domain gap between the images in the dataset (rendered with EGL)
from susie.
So the problem is domain gap with dataset. I will take a closer look at the rendering part.
Thank you so much for your reply. Hope you have a wonderful day. 😃
from susie.
Related Issues (13)
- Training code on Calvin HOT 2
- Unable to run train.py with basic settings. HOT 2
- error when evaluating HOT 3
- Missing config file for Calvin-sim checkpoint HOT 1
- Training gives nan after the first iteration HOT 3
- pretrained model weights HOT 1
- Where can we get the checkpoint for the low level GCBC policy trained on bridgedata_v2 dataset?
- Bad performance in evaluation HOT 5
- error:failed to EGL with glad.
- low-level GCBC policy checkpoint HOT 1
- Do we need to install jax gpu version?
- cannot run train.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from susie.