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

Update fid.py and eval.py #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update fid.py and eval.py #124

wants to merge 1 commit into from

Conversation

Yunyung
Copy link

@Yunyung Yunyung commented Nov 14, 2021

Hi 👋,

We think the num_workers parameter for DataLoader is important in some environments such as docker or limited RAM, otherwise causing failure. So we add num_workers when evaluating.


Supplementary materials

For example:
In docker environment, the shared memory is limited causing specific error:

RuntimeError: DataLoader worker (pid xxxx) is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit.

References:
pytorch/pytorch#5040
ultralytics/yolov3#1151

        Update get_eval_loader(...) with num_workers parameter
        when evaluating.
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

Successfully merging this pull request may close these issues.

1 participant