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

unable to run your 3d_face_class on the RPi 4B platform. #1

Open
suijunqiang opened this issue Jul 11, 2022 · 3 comments
Open

unable to run your 3d_face_class on the RPi 4B platform. #1

suijunqiang opened this issue Jul 11, 2022 · 3 comments

Comments

@suijunqiang
Copy link

First of all, thanks to share your great project.
but it's unable to run on my RaspiBerry 4B with the errors as below with the command:
$ python test.py --exp_dir ./runs/bosphorus

Testing ./runs/bosphorus/

Traceback (most recent call last):
File "/home/pi/src/ai/3d_face_class/test.py", line 39, in
train_list, test_list = get_train_test_split(config=config,
File "/home/pi/src/ai/3d_face_class/data.py", line 198, in get_train_test_split
train_list = _build_data_list(config, data_dir, train_ids, classes_dict)
File "/home/pi/src/ai/3d_face_class/data.py", line 211, in _build_data_list
e = np.load(e_fname)
File "/home/pi/.local/lib/python3.9/site-packages/numpy/lib/npyio.py", line 407, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'graph_data/bosphorus_full/bs009/edges_bs009_LFAU_17_0.npy'

By the way, the test commands unable to find in your projects, such as there is not /runs//exp000 but runs/bosphorus & runs/frgc

Thanks & Best Regards
Sui

@w00zie
Copy link
Owner

w00zie commented Jul 28, 2022

Hi @suijunqiang , sorry for the late reply, i don't know how but i missed the notification on this!
Regarding your problem: the FileNotFoundError error is due to the absence of any data under graph_data/.
I cannot share the data i used so you'll need to train a model on your data, unfortunately.
I can help you with that but it's mandatory for you to provide the data (either as meshes or graphs).
Hope i answered your question.
Thanks for the interest in this project and sorry again for the late reply

@suijunqiang
Copy link
Author

Anyway thanks for your help& supports.
I will ask you again, if any other issue.

Thanks & Regards
Sui

@w00zie
Copy link
Owner

w00zie commented Nov 8, 2022

As I pointed out #2, you can ask permission to use the Bosphorus dataset here or scrape through 3D face datasets (e.g. here).

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

2 participants