Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: 'data/CAMERA/val_list.txt'. #3

Closed
lh641446825 opened this issue Aug 3, 2020 · 9 comments
Closed

No such file or directory: 'data/CAMERA/val_list.txt'. #3

lh641446825 opened this issue Aug 3, 2020 · 9 comments

Comments

@lh641446825
Copy link

Sorry for bothering you. When I run the file evaluate.py, the following problems occurred:

`FileNotFoundError: [Errno 2] No such file or directory: 'data/CAMERA/val_list.txt'.

I did not find this file in the dataset,can you provide “val_list.txt” and “train_list.txt”?

When I run the file train_ae.py,the “data/obj_models/ShapeNetCore_4096.h5” file is not in the dataset, either.

@mentian
Copy link
Owner

mentian commented Aug 7, 2020

You need to run the scripts (shape_data.py and pose_data.py) first to prepare all these files.

@taeyeopl
Copy link

taeyeopl commented Aug 12, 2020

When I run the shape_data.py, I got error from the path ../data/obj_models/val/02876657/d3b53f56b4a7b3b3c9f016d57db96408/model.obj

Because they have empty faces, vertices.
Can I ask how to handle this issue??

I checked the shapentv1, v2, but it seems not exactly matched the format.
(v1)http://shapenet.cs.stanford.edu/shapenet/obj-zip/ShapeNetCore.v1/02876657/d3b53f56b4a7b3b3c9f016d57db96408/
(v2)http://shapenet.cs.stanford.edu/shapenet/obj-zip/ShapeNetCore.v2/02876657/d3b53f56b4a7b3b3c9f016d57db96408/models/

(Pdb) path = "../data/obj_models/val/02876657/d3b53f56b4a7b3b3c9f016d57db96408/model.obj"
(Pdb)     vertices, faces = load_obj(path)
(Pdb) faces
array([], dtype=float64)
(Pdb) vertices
array([], dtype=float64)
(Pdb)             points = uniform_sample(vertices, faces, n_pts, with_normal)
*** IndexError: arrays used as indices must be of integer (or boolean) type

@mentian
Copy link
Owner

mentian commented Aug 12, 2020

I copied this model form the ShapeNetCore. The original model should be fine.

@Liuchongpei
Copy link

@trevor-taeyeop Hi, same problem, have you fixed it?

@mentian
Copy link
Owner

mentian commented Aug 20, 2020

Try the original model in ShapeNetCore, Let me know if you couldn't fix this problem, I will upload this specific model for you to download.

@taeyeopl
Copy link

taeyeopl commented Sep 21, 2020

Can I ask about the original ShapeNetCore??
Does it represent v1 or v2 or other things??
It would be very helpful if you share files.

@taeyeopl
Copy link

@Liuchongpei, Have you tried the evaluation using pretrained weights and compared it with the paper results?? #6 (comment)

@mentian
Copy link
Owner

mentian commented Sep 25, 2020

I copied the model from ShapeNetCoreV1. You might download this specific model form here.

@dschaehi
Copy link

I copied the model from ShapeNetCoreV1. You might download this specific model form here.

Could you put this patch to README.md as this is a known problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants