pliang279 / MultiBench

[NeurIPS 2021] Multiscale Benchmarks for Multimodal Representation Learning
MIT License
494 stars 71 forks source link

Some algorithms hang while running. #7

Closed mrbeann closed 3 years ago

mrbeann commented 3 years ago

I test avmnist with different algorithms, but some of it hang while running. E.g., unimodal_1 (the strange thing is unimodal_0 is fine), MFM, cca.

lvyiwei1 commented 3 years ago

I can run these scripts to completion so I am unable to reproduce the problem. Can you share some more details on how they hang (such as the stack trace if you Ctrl-C when the program hangs)? Thanks!

mrbeann commented 3 years ago

It seems is due to the multiprocessing in dataloaders, I change num_workers to 0 the problem is fixed now. BTW, while training the audio part (avmnist) the CPU usage is quite high, do you observe the same phenomenon?

lvyiwei1 commented 3 years ago

Yes, the CPU usage is high but not abnormally high. I observe the same CPU usage in some other datasets too. Could be due to larger data instance sizes for audio modality.