DSG-Net icon indicating copy to clipboard operation
DSG-Net copied to clipboard

missing file: cube_meshinfo.npz

Open amiltonwong opened this issue 3 years ago • 0 comments

Hi, @daerduoCarey,

Thanks for releasing the package. When I run script bash scripts/train_vae_chair.sh, I got the following error:

Using device: cuda:0
Object Category: Chair
Random Seed: 3124256514
../data/partnetdata/Chair_dgeo/../cube_meshinfo.npz
Traceback (most recent call last):
  File "./train.py", line 357, in <module>
    train(config)
  File "./train.py", line 70, in train
    conf = utils.add_meshinfo2conf(conf)
  File "/data/code13/DSG-Net/code/utils.py", line 584, in add_meshinfo2conf
    conf.meshinfo = MeshDataLoader(conf.data_path)
  File "/data/code13/DSG-Net/code/utils.py", line 560, in __init__
    meshinfo = np.load(meshfile)
  File "/root2/anaconda3/envs/pytorch1.4/lib/python3.7/site-packages/numpy/lib/npyio.py", line 417, in load
    fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '../data/partnetdata/Chair_dgeo/../cube_meshinfo.npz'
(pytorch1.4) root@milton-ThinkCentre-M93p:/data/code13/DSG-Net/code#

It requires the file cube_meshinfo.npz. But I only find the file cube_meshinfo.mat here. Is cube_meshinfo.mat the correct file? Which part in the code should I fix for that?

Thanks~

amiltonwong avatar Oct 31 '22 06:10 amiltonwong