tensorflow-cifar-10 | Cifar-10 CNN implementation using TensorFlow | Machine Learning library
kandi X-RAY | tensorflow-cifar-10 Summary
kandi X-RAY | tensorflow-cifar-10 Summary
Cifar-10 CNN implementation using TensorFlow library with 20% error.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get the cifar_10 dataset
- Download and extract zipar_10
- Convert a dense tensor
- Train the model
- Runs the test and saves accuracy
- Calculate learning rate
- Generate the model
tensorflow-cifar-10 Key Features
tensorflow-cifar-10 Examples and Code Snippets
Community Discussions
Trending Discussions on tensorflow-cifar-10
QUESTION
I'm trying to run a simple cnn on cifar10, combining code from 2 examples: https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/6_MultiGPU/multigpu_cnn.py
https://github.com/exelban/tensorflow-cifar-10
I'm getting OOM errors.
I first tried the code with the complete cnn , without multi-gpu support, and it is working ok. Next I used the multi-gpu code, ran ok too. Combining them is not working.
...ANSWER
Answered 2019-May-24 at 16:49Here's the solution:
The problem was with how the data was divided across the GPUs.
I used tf.split(X, _NUM_GPUS)
for the data and the labels, then I could assign each GPU with it's right data chunk. Also , only one GPU is running accuracy
so it needed to get the full sized data.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tensorflow-cifar-10
You can use tensorflow-cifar-10 like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page