Traceback (most recent call last):
File “translate.py”, line 49, in
main(opt)
File “translate.py”, line 19, in main
translator = build_translator(opt, report_score=True)
File “/lfs01/workdirs/aast002u1/OpenNMT-py/onmt/translate/translator.py”, line 32, in build_translator
translator = Translator.from_opt(
File “/lfs01/workdirs/aast002u1/OpenNMT-py/onmt/translate/translator.py”, line 233, in from_opt
src_reader = inputters.str2reader[opt.data_type].from_opt(opt)
File “/lfs01/workdirs/aast002u1/OpenNMT-py/onmt/inputters/image_dataset.py”, line 39, in from_opt
return cls(channel_size=opt.image_channel_size)
File “/lfs01/workdirs/aast002u1/OpenNMT-py/onmt/inputters/image_dataset.py”, line 33, in init
self._check_deps()
File “/lfs01/workdirs/aast002u1/OpenNMT-py/onmt/inputters/image_dataset.py”, line 44, in _check_deps
cls._raise_missing_dep(
File “/lfs01/workdirs/aast002u1/OpenNMT-py/onmt/inputters/datareader_base.py”, line 39, in _raise_missing_dep
raise MissingDependencyException(
onmt.inputters.datareader_base.MissingDependencyException: Could not create reader. Be sure to install the following dependencies: PIL, torchvision, cv2