Swin-Transformer icon indicating copy to clipboard operation
Swin-Transformer copied to clipboard

How can I train my dataset with single gpu in windows?

Open ZZHHogan opened this issue 3 years ago • 3 comments

How can I train my dataset with single gpu in window? I want to run my dataset with single gpu in windows for classification task.But I do not know how to start? When I run the command according to readme ,it occur error:

File "C:\ProgramData\Anaconda3\envs\mm\lib\site-packages\torch\distributed\launch.py", line 326, in main sigkill_handler(signal.SIGTERM, None) # not coming back File "C:\ProgramData\Anaconda3\envs\mm\lib\site-packages\torch\distributed\launch.py", line 301, in sigkill_handler raise subprocess.CalledProcessError(returncode=last_return_code, cmd=cmd) subprocess.CalledProcessError: Command '['C:\ProgramData\Anaconda3\envs\mm\python.exe', '-u', 'main.py', '--local_rank=0', '--cfg', 'configs/swin_small_patch4_window7_224.yaml', '--data-path', 'E:/Datasets/Datawhale_face_emotion /Datawhale_face_emotion/train', '--batch-size', '2', '--accumulation-steps', '2']' returned non-zero exit status 1.

ZZHHogan avatar Aug 10 '21 14:08 ZZHHogan

I have the same problem.

Peitong-Li avatar Oct 03 '21 02:10 Peitong-Li

Do you resolve it?

Tongjiaxun avatar Dec 22 '21 11:12 Tongjiaxun

I have the same problem.

libingDY avatar Feb 17 '22 09:02 libingDY