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

When using debug training data, the program stops and the data cannot be read. #13

Open
cl-red opened this issue Feb 26, 2023 · 2 comments

Comments

@cl-red
Copy link

cl-red commented Feb 26, 2023

The code can run normally.
But when I use debug training data, the program stops and the data cannot be read.
I want to know how to use debug to view the training process.
$5A7IBHTY5XM_}CH__GZU5I

@zhjohnchan
Copy link
Owner

@cl-cqupt Thanks for your attention. The following might be the solutions:

  • If you are debugging the dataset/dataloader, set num_worker to 0;
  • If you are debugging the training process, set num_gpus to 1.

@VcRenOne
Copy link

The code can run normally. But when I use debug training data, the program stops and the data cannot be read. I want to know how to use debug to view the training process. $5A7IBHTY5XM_}CH__GZU5I

Hi, can you ask about the size of your dataset, GPU, and batchsize?

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