lltcggie / waifu2x-caffe

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

Batch process executing intermittently #196

Open Metric-Void opened 4 years ago

Metric-Void commented 4 years ago

The process will halt for quite a long time during consecutive image upscaling. Parameters:

waifu2x-caffe-cui --tta 0 --gpu 0 --batch_size 1 --crop_size 128 --output_depth 64 --output_quality 8 --process cudnn --model_dir 'models\anime_style_art_rgb' --noise_level 3 --mode noise_scale --output_extention png --scale_ratio 2.0

image (Each spike in cuda activity is one image being upscaled.) Titan Xp, AMD 2700X. CPU was sitting idle during the process. Hard disk activity low. GPU Core 75C, which I would consider normal.

Metric-Void commented 4 years ago

(同上) cuDNNを使って大量の画像を転換するとき、各画像をアップスケールの間に長い時間かかります。 この間はCPUもGPUも何もしていませんみたい、GPUの稼働率は1%~2%でした。ハードディスクも問題なし。 タスクマネージャーの画面について、各スパイクは各画像の処理に対応しています。

CPUはRyzen 2700X、GPUはTitan Xpです。この間にGPUの温度は75度くらい。

Metric-Void commented 4 years ago

Tuning batch size and crop size did not solve the problem.