Skip to content

ImportError: Cuda not found. Cannot unpickle CudaNdarray #4

@assadRasheed

Description

@assadRasheed

i am trying to run your repo on my system but got the following error. i googled a lot to get rid of this but failed .i have intell(R) hd 4000 gpu. how can i run this piece of code on cpu instead of gpu need your suggestion how can i remove this errors

ImportError                               Traceback (most recent call last)
<ipython-input-11-ba73284be362> in <module>()
    537 if __name__ == '__main__':
    538     #train_snn_main()
--> 539     train_count_main()

<ipython-input-11-ba73284be362> in train_count_main()
    210     print ('loading snn')
    211     f = open(os.path.join(path, 'snn_autonet' + '.save'), 'rb')
--> 212     snn_loaded_object=cPickle.load(f)
    213     f.close()
    214     print('Done')

C:\ProgramData\Anaconda5\envs\py27\lib\site-packages\theano\sandbox\cuda\type.pyc in CudaNdarray_unpickler(npa)
    600         return cuda.CudaNdarray(npa)
    601     else:
--> 602         raise ImportError("Cuda not found. Cannot unpickle CudaNdarray")
    603 
    604 copyreg.constructor(CudaNdarray_unpickler)

ImportError: Cuda not found. Cannot unpickle CudaNdarray

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions