Giter VIP home page Giter VIP logo

dl-meetup-intro's People

Contributors

coffeebloc avatar graphific avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dl-meetup-intro's Issues

GpuCrossentropySoftmaxArgmax1HotWithBias in the DNN example block 38

Everything runs fine when running on the CPU while when I run the same code on my Tesla K40c device I get the following error:

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-38-45ae0203312f> in <module>()
      6 for epoch in xrange(n_epochs):
      7     for minibatch_index in xrange(n_train_batches):
----> 8         minibatch_avg_cost = train_model(minibatch_index)
      9 
     10     validation_losses = [validate_model(i) for i

/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.pyc in __call__(self, *args, **kwargs)
    586                     # For the CVM
    587                     gof.vm.raise_with_op(self.fn.nodes[self.fn.position_of_error],
--> 588                                          self.fn.thunks[self.fn.position_of_error])
    589                 else:
    590                     # For the c linker

/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.pyc in __call__(self, *args, **kwargs)
    577         t0_fn = time.time()
    578         try:
--> 579             outputs = self.fn()
    580         except Exception:
    581             if hasattr(self.fn, 'position_of_error'):

RuntimeError: Cuda error: GpuCrossentropySoftmaxArgmax1HotWithBias node_6b7275e07874be7aaf65352648b8c2d7_0: invalid configuration argument.
The kernel was launched with 1 threads, 0 blocks and 0 shared memory

Apply node that caused the error: GpuCrossentropySoftmaxArgmax1HotWithBias(GpuDot22.0, b, GpuElemwise{Identity{output_types_preference=<theano.scalar.basic.specific_out object at 0x7f2984c598d0>},no_inplace}.0)
Inputs shapes: [(0, 10), (10,), (0,)]
Inputs strides: [(10, 1), (1,), (1,)]
Inputs types: [CudaNdarrayType(float32, matrix), CudaNdarrayType(float32, vector), CudaNdarrayType(float32, vector)]
Use the Theano flag 'exception_verbosity=high' for a debugprint of this apply node.

I run on a Ubuntu 14.04 system with a basic .theanorc config:

~$ cat .theanorc 
[global]
floatX = float32
device = gpu0

[nvcc]
fastmath = True

Any clue to what may be causing this error?

Thanks by the way for an excellent tutorial!

ipython notebook crashes at line caffe.Classifier

I tried to run PyConSe15-cat-vs-dog iPython notebook, but the following line crashes the notebook(The kernel appears to have died. It will restart automatically.):
net = caffe.Classifier(MODEL_FILE, PRETRAINED,
mean=np.load(caffe_root + 'python/caffe/imagenet/ilsvrc_2012_mean.npy').mean(1).mean(1),
channel_swap=(2,1,0),
raw_scale=255,
image_dims=(256, 256))

Am I doing something wrong here?
I have set up Caffe, CUDA and all the prerequisites mentioned in the notebook.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.