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

ERROR when training with MSRA #2

Open
WJJLBJ opened this issue Dec 22, 2022 · 8 comments
Open

ERROR when training with MSRA #2

WJJLBJ opened this issue Dec 22, 2022 · 8 comments

Comments

@WJJLBJ
Copy link

WJJLBJ commented Dec 22, 2022

FileNotFoundError: [Errno 2] No such file or directory: '/home/bode.wu/datasets/msra_hand/P2/MP/000414_depth.bin'
How to load the MSRA dataset to fix the problem? thank you

@WJJLBJ
Copy link
Author

WJJLBJ commented Dec 22, 2022

As I know there should not be 000414_depth.bin in that dir

@TheoCarme
Copy link

Hello @mrezaei92 I would greatly appreciate if you could help us on that matter.
Thank you in advance.

@TheoCarme
Copy link

Actually I found the cause of the problem. It comes from the files "msra_test_list.txt" and "msra_test_groundtruth_label.txt" which respectively list the names of all the ".bin" files in the dataset and the ground truth corresponding. So I just deleted in those files the lines corresponding to the ".bin" files I didn't have in my dataset.

Also @WJJLBJ if you didn't give up at the time and resolve the issue, maybe you also succeeded in using the hand pose estimator and you could answer to my question here.

@pijiangdada
Copy link

Hello @mrezaei92 I would greatly appreciate if you could help us on that matter. Thank you in advance.

Actually I found the cause of the problem. It comes from the files "msra_test_list.txt" and "msra_test_groundtruth_label.txt" which respectively list the names of all the ".bin" files in the dataset and the ground truth corresponding. So I just deleted in those files the lines corresponding to the ".bin" files I didn't have in my dataset.

Also @WJJLBJ if you didn't give up at the time and resolve the issue, maybe you also succeeded in using the hand pose estimator and you could answer to my question here.

Can you share the "msra_test_groundtruth_label. txt" and "msra_test_list. txt" files after deleting which lines? If I delete them one by one, it would be a waste of time. If you could share them, I would greatly appreciate it!

@TheoCarme
Copy link

You will find the files here.
Just to be clear I only remove the lines from the files that did not match with an element of the dataset. I obviously did not add lines (since I did not had the ground truth) that matched with elements of the dataset and were not present.

Also did you change your profile picture just to coax me to share you the files ^^ ?

@pijiangdada
Copy link

You will find the files here. Just to be clear I only remove the lines from the files that did not match with an element of the dataset. I obviously did not add lines (since I did not had the ground truth) that matched with elements of the dataset and were not present.

Also did you change your profile picture just to coax me to share you the files ^^ ?

Thank you very much for sharing! This picture is from the anime Star Cowboy, it is an excellent work, I would like to recommend it!

After changing these two txt files, it seems that the model can run smoothly! Since only about a few dozen samples were missing, I guess there shouldn't be any impact on the training of the model. As I am a beginner in deep learning, I would like to ask again, will deleting the corresponding row cause the mismatch between the independent and dependent variables, resulting in inconsistency between the original data and labels?

@TheoCarme
Copy link

My picture is from the same anime, hence my "question".

I am not sure to understand your question, but here is my answer. Since I deleted the lines that had no match in the datasets in both files and that the "msra_test_groundtruth_label. txt" file as I understand it is containing what your calling the labels, I do not think there would be a problem.

@pijiangdada
Copy link

My picture is from the same anime, hence my "question".

I am not sure to understand your question, but here is my answer. Since I deleted the lines that had no match in the datasets in both files and that the "msra_test_groundtruth_label. txt" file as I understand it is containing what your calling the labels, I do not think there would be a problem.

Oh, I enlarged the picture and recognized it as Ed. Haha, thank you very much again for your answer!

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

3 participants