microsoft / Oscar

Oscar and VinVL
MIT License
1.04k stars 252 forks source link

BrokenPipeError: [Errno 32] Broken pipe #166

Open hasontung1999 opened 3 years ago

hasontung1999 commented 3 years ago

image Hello everyone! I get an error Broken Pipeline when using --do_eval. Please help me to fix it. Thank you a lot!

jontooy commented 3 years ago

Hi hasontung1999,

I had the same problem, and still have it sometimes when running the evaluation scripts. I think it has something to do with the METEOR-evaluation module, which is written in java.

My way around this problem today is to run the evaluation notebook provided by /tylin/coco-caption/, and restart the runtime till the evaluation works.

I hope this helps. Maybe someone else has a better understanding of this problem.

hasontung1999 commented 3 years ago

Hi @jontooy , I had this problem when I did test and eval on Flickr dataset. I haven't tested on COCO (which is recommended by the authors), so I dont know if this problem also occurs or not. I will try your approach. Thank you !