THUYimingLi / BackdoorBox

The open-sourced Python toolbox for backdoor attacks and defenses.
GNU General Public License v2.0
433 stars 70 forks source link

AssertionError: This machine has no cuda devices! (Have been solved) #58

Closed Songsci1024 closed 1 year ago

Songsci1024 commented 1 year ago

If you encounter the following error: AssertionError: This machine has no cuda devices! To view your GPU number, run the "nvidia-smi" command and set CUDA_VISIBLE_DEVICES to the corresponding number at the beginning of the test file uTools_1684216654279