Comments (9)
Not very sure about that. Cause I don't see copy
in that lineπ Can you try to debug by printing the mesh_pose_list_path
before the line?
from giga.
I use pdb
to print the value of mesh_pose_list_path
, and the result is
mesh_pose_list_path='./data/data_packed_train_raw/mesh_pose_list/000000239c3e45008bde52d1a78d5c12.npz'
It seems that the code is correct since it correctly gets .npz
file. My random guess is the format of .npz
files is not shared by different computation infrastructures. I believe the correct is correct since I can use the scripts provided by the repo. to generate synthetic data and retrieve the occupancy of the generated synthetic data. However, using exactly the same dataset is still essential when comparing ML approaches π
Is it possible to obtain your raw data that is not saved in .npz
?
from giga.
I save the data directly to .npz
with np.savez_compressed()
as in here. Is it possible that the problem is with the version of numpy
? I'm using 1.19.2
.
from giga.
I also use numpy==1.19.2
π.
After some testing, I think that the issue is not caused by the version of numpy
. I guess the issue is caused by saving vgn
to .npz
fille.
I use your data generation script (generate_data_parallel.py
) to create synthetic dataset, and here is a normal .npz
array([['data/urdfs/packed/train/Sauerkraut_800_tex_visual.obj',
0.728894702126209,
<vgn.utils.transform.Transform object at 0x7f6639ae03d0>],
['data/urdfs/packed/train/nutrigrain_apple_cinnamon_visual.obj',
0.7023577187764145,
<vgn.utils.transform.Transform object at 0x7f6639ae0430>],
['data/urdfs/packed/train/pringles_bbq_visual.obj',
0.8754874818703685,
<vgn.utils.transform.Transform object at 0x7f6639ae0460>]],
dtype=object)
We can find that the .npz
files contain vgn
object, but the vgn
package is installed locally which may also depend on the computation infrastructure. Therefore, the vgn
objects saved with np.savez_compressed()
are not valid across different devices. I also verify this hypothesis via creating a dataset with one computer and load the dataset with another one, and a similar issue happens.
from giga.
I see your point. That's a possible cause. Maybe I should store the 4X4 transformation matrix rather than this Transform object.π€
from giga.
I think that is a feasible solution. It will be wonderful if you can provide your dataset in that format.
from giga.
Hi, thanks for open-source the code! I encountered the same problem that .npz
in the raw dataset cannot be loaded here.
Any idea how I can resolve this issue without generating the dataset again?
from giga.
Sorry, I forgot to translate the data. I'll work on it in a few days.
from giga.
Hi guys, I've updated the data and the code. Now we save and load the transformation matrix instead of the Transform
object for the mesh poses. And I update the data. Note that only raw data need to be updated.
Please pull the new commit and try the new data and give me feedback, thank you!
from giga.
Related Issues (20)
- New dataset HOT 3
- Visualizing on custom dataset HOT 9
- Visualization of data generation HOT 2
- visual HOT 1
- How to use GIGA on real robot? HOT 2
- how to query at a higher resolution of 60Γ60Γ60 HOT 4
- Installation error: " LINK : fatal error LNK1181: can not open input fileβm.libβ " HOT 4
- About NVIDIA Driver in WSL2 HOT 5
- Scene Descriptor HOT 2
- [Question] How to get the 3d reconstruction at inference time? HOT 6
- No module named vgn HOT 2
- libmesh failed! HOT 2
- question about GIGA(HR) HOT 1
- Train GIGA HOT 1
- Can't log _aff.obj when running sim_grasp_multiple.py HOT 1
- Some confusion in the paper HOT 2
- The program that generates data gets stuck in the first loop HOT 2
- The time to generate the training set HOT 1
- Re-implentation in real world HOT 6
- Did you consider trying to avoid using the grasp data on the wrong voxels? 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 giga.