keras-extras icon indicating copy to clipboard operation
keras-extras copied to clipboard

Extra batteries for Keras

Results 18 keras-extras issues
Sort by recently updated
recently updated
newest added

I am running make_parallel with 2 GPUs, the error occurred with gradients/sub_grad/BroadcastGradientArgs: "InvalidArgumentError (see above for traceback): Incompatible shapes: [483,1] vs. [482,1] [[Node: gradients/sub_grad/BroadcastGradientArgs = BroadcastGradientArgs[T=DT_INT32, _class=["loc:@sub"], _device="/job:localhost/replica:0/task:0/gpu:0"](gradients/sub_grad/Shape, gradients/sub_grad/Shape_1/_79)]]"

Hello there! I'm running the demo.ipynb from rt-mrcnn-master/samples. https://github.com/noxouille/rt-mrcnn I converted it to demo.py. I commented this statement #get_ipython().run_line_magic('matplotlib', 'inline'). When I run it ($python demo.py), it gives the following...

this is the below code which has got errors x_test_pred = np.argmax(classifier.predict(x_test[:47]), axis=1) nb_correct_pred = np.sum(x_test_pred == np.argmax(y_test[:47], axis=1)) print("Original test data (first 100 images):") print("Correctly classified: {}".format(nb_correct_pred)) print("Incorrectly classified:...

Hi, when using `kernel_regularizer=regularizers.l2(0.00004)`, in conv2D layer i get „AttributeError: 'Model' object has no attribute '_losses'„ caused by `outputs = model(inputs)` that merges the outputs of the different splits in...

TensorFlow implementation of multi GPU treats weight regularization differently. It computes partial losses and gradients on each GPU and then combines it on master CPU. It is similar to keras...

I use Tensorflow as the backend. And I use multi_gpu.py to achieve multi-gpus training. However, I find that the speed of using two gpus is almost same with using one...

Hi, I've tried to run the multi_gpu program to parallelize a convolution neural network that is based on U-Net. I am trying to parallelize on a g2.8xlarge to take advantage...

I came across your [post on Medium](https://medium.com/@kuza55/transparent-multi-gpu-training-on-tensorflow-with-keras-8b0016fd9012#.q4rzb8rik) and was instantly hooked. Nice job! I've been developing a series of deep learning experiments that use only a single GPU and decided...

Hi! Can you please explain are weights of the model same on all GPUs after first batch or not? I mean, that we make copy of model on each GPU...