EagleW / Describing_a_Knowledge_Base

Code for Describing a Knowledge Base
http://aclanthology.org/W18-6502
MIT License
52 stars 29 forks source link

AssertionError: Torch not compiled with CUDA enabled #8

Closed Saranyamadhanagopal closed 2 years ago

Saranyamadhanagopal commented 2 years ago

Hi, Im trying to run main.py for the animal dataset.. However im unable to do getting below mentioned error. Kindly assist thanks.

File "main.py", line 92, in model = Seq2seq(encoder, decoder).to(device)

File "C:\Users\Anaconda3\lib\site-packages\torch\cuda__init__.py", line 210, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled

Saranyamadhanagopal commented 2 years ago

i ran the code without cuda.. it worked.. thanks..