lltcggie / waifu2x-caffe

waifu2xのCaffe版
MIT License
8.01k stars 843 forks source link

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

Closed wizardforcel closed 1 year ago

wizardforcel commented 1 year 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 1 year 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.