spragunr / deep_q_rl

Theano-based implementation of Deep Q-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: No module named cuda.var in theano version 0.9.0

AnushaManila opened this issue · comments

I have installed Theano==0.9.0 version.
Since import as_cuda_ndarray_variable from theano.sandbox.cuda.basic_ops is not available in release version 0.9.0, I guess the equivalent module is from theano.sandbox.cuda.var import CudaNdarraySharedVariable. But it gives import error as the title says No module named cuda.var.

Similarly, I am searching the equivalent for below modules

  1. host_from_gpu
  2. gpu_alloc_empty

The exact line which throws the error is as shown below:
from theano.sandbox.cuda.basic_ops import (as_cuda_ndarray_variable,
host_from_gpu,
gpu_contiguous, HostFromGpu,
gpu_alloc_empty)

Thank you in advance.