facebookresearch / mmf

A modular framework for vision & language multimodal research from Facebook AI Research (FAIR)
https://mmf.sh/
Other
5.49k stars 935 forks source link

An error warning for persistent_workers=False and num_workers = 0 #1200

Open wangjf8090 opened 2 years ago

wangjf8090 commented 2 years ago

🐛 Bug

when set the params as follow

num_workers = 0 persistent_workers=False

got a warning : "persistent_workers cannot be used together with num_workers == 0; setting persistent_workers to False"

I found that line 305 has an extra comma causing a false warning in file mmf/mmf/utils/build.py