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 running file nvidia_process.py #27

Open
nemolfie opened this issue Sep 26, 2022 · 5 comments
Open

Error running file nvidia_process.py #27

nemolfie opened this issue Sep 26, 2022 · 5 comments

Comments

@nemolfie
Copy link

When I run the nvidia_process.py , program error is "ValueError: too many values to unpack (expected 4)
" and the error line is "_, npy_path, label, _ = r.split(npy_path)
". Excuse me, what's wrong with this, please.

@ycmin95
Copy link
Collaborator

ycmin95 commented Sep 26, 2022

You can check the return value of r.split(npy_path), npy_path and label are expected to obtain from it.

@nemolfie
Copy link
Author

您可以检查 r.split(npy_path) 的返回值,npy_path 和 label 期望从中获得。

Excuse me, there is a another problem , when I run the program "nvidia_dataloader.py" , in the line 106 , it has an unassign variable "BaseFeeder" . I'd like to know if this is a code shortage or something else, please.

@ycmin95
Copy link
Collaborator

ycmin95 commented Sep 27, 2022

It seems that "nvidia_dataloader.py" has 32 lines.

@nemolfie
Copy link
Author

似乎“nvidia_dataloader.py”有 32 行。

the error line is "feeder = BaseFeeder(framerate=80)" but I can not find the BaseFeeder before the code.

@ycmin95
Copy link
Collaborator

ycmin95 commented Sep 27, 2022

OK, I got it. It is in the nvidia_dataloader.py file, which is used for debugging in the previous version, you can simply change the BaseFeeder to NvidiaFeeder. But it should only report an error when you run the nvidia_dataloader.py file (nvidia_dataloader.py is not supposed to be run individually expect to debug, which is called during model training).

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