Open
Description
Hi,Julian
I really appreciate your great work!
I want to run the SVR test inference, but met some problems:
I downloaded your SVR trained model "checkpoint_epoch_6.tar" , and the input data "test_inference_example".
And I make the folder "if-net-master/experiments/iPC3000_dist-0.5_0.5_sigmas-0.2_0.015_v256_mSVR/checkpoints", and put the "checkpoint_epoch_6.tar" "BMan0201-HD2-O04P05-S_3DSV_H250_W250_res256.npz" "BMan0201-HD2-O04P05-S_3DSV_H250_W250_res256.off" all in the folder.
Then I run the command:
python generate.py -pointcloud -pc_samples 3000 -std_dev 0.2 0.015 -res 256 -m SVR -checkpoint 6 -batch_points 100000
But something goes wrong:
Loaded checkpoint from: /home/ang/if-net-master/models/../experiments/iPC3000_dist-0.5_0.5_sigmas-0.2_0.015_v256_mSVR/checkpoints/checkpoint_epoch_6.tar
experiments/iPC3000_dist-0.5_0.5_sigmas-0.2_0.015_v256_mSVR/evaluation_6_@256/
<torch.utils.data.dataloader.DataLoader object at 0x7f33bc5d7dd0>
0it [00:00, ?it/s]
Traceback (most recent call last):
File "generate.py", line 63, in <module>
gen_iterator(out_path, dataset, gen)
File "/home/ang/if-net-master/generation_iterator.py", line 29, in gen_iterator
for i, data in tqdm(enumerate(loader)):
File "/home/ang/anaconda3/envs/if-net/lib/python3.7/site-packages/tqdm/std.py", line 1165, in __iter__
for obj in iterable:
File "/home/ang/anaconda3/envs/if-net/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 560, in __next__
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/home/ang/anaconda3/envs/if-net/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 560, in <listcomp>
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/home/ang/if-net-master/models/data/voxelized_data_shapenet.py", line 55, in __getitem__
occupancies = np.unpackbits(np.load(voxel_path)['compressed_occupancies'])
File "/home/ang/anaconda3/envs/if-net/lib/python3.7/site-packages/numpy/lib/npyio.py", line 422, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'shapenet/data//04256520/8918d572cff6b15df36ecf951968a8b0/voxelized_point_cloud_256res_3000points.npz'
I'm really new to this, and I hope you can give me some advice. Thanks a lot!