Comments (15)
Does this error occur during visual-based policy training? For visual-based policy training, It requires a relatively large GPU memory, compared to state-based policy. I remember we set num_envs to 16 on RTX 3090 (~24GB).
from unidexgrasp.
Hi, yes, it is visual-based policy training.
from unidexgrasp.
Hi, may I ask how many epochs have you trained for the vision-based policy training? I am currently using 10,000 and don't see any effect.
from unidexgrasp.
Assuming you are using a vision-based RL (PPO) approach, as pointed out in our paper, directly training a vision-based RL policy doesn't work (although we do provide this option in our code). If you wish to train a vision-based policy, our recommendation is to first successfully train a state-based policy and then follow our code to perform state-to-vision policy distillation using DAgger.
from unidexgrasp.
Hi, may I ask how the dexgrasp_policy/meshdata_scaled and dexgrasp_policy/meshdata_pc_feat come from? I can't find the groundtruth scale. Thanks!
from unidexgrasp.
We just uploaded the data here. You can unpack them and put them under the directory dexgrasp_policy/assets
.
from unidexgrasp.
Hi, thanks! I discovered that there are only core
and sem
folder in meshdatav3_pc_feat.zip
without mujoco
and ddg
. And may I ask where the scale in the object_code_list in configuration yaml files comes from?
from unidexgrasp.
Hello! The meshdatav3_pc_feat
stores features from the pre-trained category label classification task. Since objects in mujoco
and ddg
do not have defined "category labels", they were not included in the pre-training. If these objects are used in training, we simply set all their features to 0. (Perhaps you can use a better pre-training task). Regarding scale, we simply applied filtering to all object scales, filtering out objects (with different scales) that are too large or too small (actually it's very challenging for a single training policy to handle these objects). I will update the object/scale data we used to the repo next week if you need it.
from unidexgrasp.
hi, thanks for your help of the dataset and the object/scale information! The object/scale data would be really helpful.
from unidexgrasp.
And may I ask whether there exists any other things to notice when training state-based goal-conditioned case? I changed the config file from goal-cond:false to goal-cond:true, and the reward is almost only around 20, which makes the success rate is 0.0.
from unidexgrasp.
Hello! I apologize for the delayed response. 1. Regarding the strategy training issue: Due to the large number of objects, we did not test "train from scratch" for all individual objects in both goal-conditioned and non-goal-conditioned scenarios (in fact, quite a few objects would fail when "train from scratch"). However, as pointed out in our paper, "curriculum learning" is crucial. My suggestion is to first train a non-goal-conditioned model on a simple object (for example, data 'sem/Car-669043a8ce40d9d78781f76a6db4ab62':[0.06] which we use for the training at first), and then fine-tune this model on more challenging objects or in the goal-conditioned scenario. 2. Concerning the object/scale data, we are currently looking for a better method to select scales using filters. It will take some time before we can fully organize and release it. If you need it, I can send you the current temporary version via email. If you have any other questions, feel free to contact us.
from unidexgrasp.
Thank you so much for your reply! Expect for the release of the object-scale list. It would be really helpful if you can send me the current version via email, my email is [email protected]. Thank you very much!
from unidexgrasp.
In the paper, the treatment of the non-goal-conditioned model involves removing the goal input and goal reward during RL training. However, in the shadow_hand_grasp.py, I only see that the goal reward has been removed, and the goal input is still used as an input to the network. I find this somewhat puzzling.
UniDexGrasp/dexgrasp_policy/dexgrasp/tasks/shadow_hand_grasp.py
Lines 797 to 802 in e724a94
from unidexgrasp.
Hello, thank you for pointing out this issue! When training with non-goal-conditioned, we do not use goal-reward and will simply set these three lines to a value of 0.
https://github.com/PKU-EPIC/UniDexGrasp/blob/e724a94f8260dee888477a2e9d048272dfe4fd7c/dexgrasp_policy/dexgrasp/tasks/shadow_hand_grasp.py#L799C9-L801C84
from unidexgrasp.
Hi, May I ask how to extract the object's pose and rotation from the npz file of datasetv4.1? I currently extracted the target hand pose and rotation, as the code shows. I wonder how to find the pose and rotation of the object so that the object is grasped in the hand. Thanks!
from unidexgrasp.
Related Issues (20)
- Joint training in grasp generation HOT 4
- Distilled policy student model checkpoint
- Provided checkpoint model is inconsistent with the latest code HOT 8
- "It seems that I'm missing some utility files related to 'data'." HOT 2
- CSDF ---identifier "CHECK_EQ" is undefined HOT 3
- The error "ValueError: num_samples should be a positive integer value, but got num_samples=0" occurs during data loading. HOT 1
- I have a question about training time HOT 2
- The code for the Dataset Generation HOT 2
- Possible Bug in pointcloud observation. HOT 1
- Question about object data. HOT 1
- Will you finished the dex_generation part? HOT 1
- Question about data HOT 1
- good
- Dataset issues HOT 17
- Questions about the code in dex_dataset.py. HOT 3
- Pre-trained Checkpoints HOT 4
- Bad allocate and PyTorch.cannot allocate memory HOT 8
- seemed missed a file /algo/pn_utils/maniskill_learn/utils/data HOT 2
- Choose "random" or "grid" for function generate_queries in ipdf_network.py HOT 2
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 unidexgrasp.