Was able to resolve issue by placing .theanorc file in home directory.
Able to hit GPU on my laptop !!!
After running lesson1 code in notebook , getting below issue which i did not get after running in pycharm
RuntimeError: GpuCorrMM failed to allocate working memory of 576 x 50176
Apply node that caused the error: GpuCorrMM{valid, (1, 1), (1, 1)}(GpuContiguous.0, GpuContiguous.0)
Toposort index: 134
Inputs types: [GpuArrayType(float32, (False, False, False, False)), GpuArrayType(float32, (False, False, False, False))]
Inputs shapes: [(64, 64, 226, 226), (64, 64, 3, 3)]
Inputs strides: [(13075456, 204304, 904, 4), (2304, 36, 12, 4)]
Inputs values: [‘not shown’, ‘not shown’]
Outputs clients: [[GpuElemwise{Composite{(i0 * ((i1 + i2) + Abs((i1 + i2))))}}[(0, 1)](GpuArrayConstant{[[[[ 0.5]]]]}, GpuCorrMM{valid, (1, 1), (1, 1)}.0, InplaceGpuDimShuffle{x,0,x,x}.0)]]
HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag ‘optimizer=fast_compile’. If that does not work, Theano optimizations can be disabled with ‘optimizer=None’.
HINT: Use the Theano flag ‘exception_verbosity=high’ for a debugprint and storage map footprint of this apply node.