Hi there
I am a beginner to neural networks...
Basically, I want to use this lib as replacement for NumPy to have gpu acceleration in my (simple) neural network... (implementation: https://github.com/makeyourownneuralnetwork/makeyourownneuralnetwork/blob/master/part2_neural_network.ipynb)
For example I am using:
numpy.random.normal
numpy.dot
numpy.array
numpy.transpose
I replaced numpy.array with pygpu.gpuarray.array but it is telling me TypeError: No context specified. - so I tried to create a gpu context beforehand (MacOS Intel iris 500 iGPU), but I have no idea how to successfully do that.
I tried to create a context from the pygpu.gpuarray.GpuContext class like so:
pygpu.gpuarray.GpuContext(kind="opencl") but I get: __init__() got an unexpected keyword argument 'kind'
Hi there
I am a beginner to neural networks...
Basically, I want to use this lib as replacement for NumPy to have gpu acceleration in my (simple) neural network... (implementation: https://github.com/makeyourownneuralnetwork/makeyourownneuralnetwork/blob/master/part2_neural_network.ipynb)
For example I am using:
numpy.random.normalnumpy.dotnumpy.arraynumpy.transposeI replaced
numpy.arraywithpygpu.gpuarray.arraybut it is telling meTypeError: No context specified.- so I tried to create a gpu context beforehand (MacOS Intel iris 500 iGPU), but I have no idea how to successfully do that.I tried to create a context from the
pygpu.gpuarray.GpuContextclass like so:pygpu.gpuarray.GpuContext(kind="opencl")but I get:__init__() got an unexpected keyword argument 'kind'