lltcggie / waifu2x-caffe

waifu2xのCaffe版
MIT License
8.09k stars 838 forks source link

エラー: モデルファイルが開けませんでした #235

Closed wizardforcel closed 1 year ago

wizardforcel commented 2 years ago

When I invoke the cli tool from Python with subprocess.Popen(shell=True),it shows this error. But it's OK through PowerShell. What;s wrong?

nagadomi commented 2 years ago

The error message means that the model file cannot be opened. Perhaps you need to set the current working directory for the application. subprocess.Popen(shell=True, cwd=waifu2x_bin_dir) or specify the --model_dir option.