fengyang0317 / unsupervised_captioning

Code for Unsupervised Image Captioning
MIT License
215 stars 51 forks source link

eval_all.py #33

Open ironmanx1 opened 3 years ago

ironmanx1 commented 3 years ago

https://github.com/fengyang0317/unsupervised_captioning/blob/0e75b6aff4cc9e94249bc272fc5490e566ef5d7c/eval_all.py#L4

https://github.com/fengyang0317/unsupervised_captioning/blob/0e75b6aff4cc9e94249bc272fc5490e566ef5d7c/eval_all.py#L92 https://github.com/fengyang0317/unsupervised_captioning/blob/0e75b6aff4cc9e94249bc272fc5490e566ef5d7c/eval_all.py#L93

multiprocessing.pool.MaybeEncodingError: Error sending result: 'NotFoundError()'. Reason: 'PicklingError("Can't pickle <type 'module'>: attribute lookup builtin.module failed",)' is this result happen because of the module multiprocessing?Have you had this problem?

Sparkle-Q commented 1 year ago

https://github.com/fengyang0317/unsupervised_captioning/blob/0e75b6aff4cc9e94249bc272fc5490e566ef5d7c/eval_all.py#L4

https://github.com/fengyang0317/unsupervised_captioning/blob/0e75b6aff4cc9e94249bc272fc5490e566ef5d7c/eval_all.py#L92

https://github.com/fengyang0317/unsupervised_captioning/blob/0e75b6aff4cc9e94249bc272fc5490e566ef5d7c/eval_all.py#L93

multiprocessing.pool.MaybeEncodingError: Error sending result: 'NotFoundError()'. Reason: 'PicklingError("Can't pickle <type 'module'>: attribute lookup builtin.module failed",)' is this result happen because of the module multiprocessing?Have you had this problem?

I encounter the same problem too! Have you solved it? Could you please give me some advice? Thanks you!