Skip to content

Update fid.py and eval.py#124

Open
Yunyung wants to merge 1 commit intoclovaai:masterfrom
Yunyung:master
Open

Update fid.py and eval.py#124
Yunyung wants to merge 1 commit intoclovaai:masterfrom
Yunyung:master

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