nagadomi / waifu2x

Image Super-Resolution for Anime-Style Art
http://waifu2x.udp.jp/
MIT License
27.33k stars 2.71k forks source link

Can't query my GPU ID correctly #448

Open CuWO4 opened 1 year ago

CuWO4 commented 1 year ago

我的电脑同时有核心显卡和独立显卡(3060 ti),但是查询GPU id时仅可查询到GPU -1(CPU)和GPU 0(核显),无法正确识别到独立显卡。

我使用了CUDA v10.0.0和cuDNN。

1374363910 commented 1 year ago

这是章泽鑫的邮箱,我收到你的邮件了。

nagadomi commented 1 year ago

For this lua version, You can specify the GPU ID with -gpu option. GPU ID index is 1-based.

CuWO4 commented 1 year ago

对于这个 lua 版本, 您可以使用选项指定 GPU ID -gpu。 GPU ID 索引从 1 开始。

still not working. Whether I use "-gpu 1" or "-gpu 2" as a parameter, I use the GPU monitor to find that the program only calls the core display.

CuWO4 commented 1 year ago

对于这个 lua 版本, 您可以使用选项指定 GPU ID -gpu。 GPU ID 索引从 1 开始。

Core Graphics I mean.

nagadomi commented 1 year ago

This lua version only supports CUDA and does not work on CPUs or Intel Graphics. If it is working without error, it is using an NVIDIA GPU. Is there an error?

nagadomi commented 1 year ago

This lua version

What this means is that there are various variants of waifu2x, and a command named waifu2x may not be a program from this repository. Did you setup explicitly from this repository?