Jump to content

Keras with MobilenetV2 for Deep Learning: Difference between revisions

m
no edit summary
mNo edit summary
Line 1: Line 1:
<seo title="Keras with MobilenetV2 for Deep Learning | MobilenetV2 | RidgeRun" titlemode="replace" keywords="GStreamer,  Nvidia, Jetson TX2 EVM, Jetson TX2, CUDA, OpenCV,JetPack, TensorFlow, R2Inference, GstInference, GStreamer AI inference, AI, Artificial Intelligence, Inference, AI Inference, NVIDIA Transfer Learning, deep stream, Tensorfile, Keras, MobilenetV2 for Deep Learning,TensorFlow, MobileNetV2 model" description="Learn about how to create models using MobileNetV2 with Keras in Ubuntu 16.04 for PC"></seo>
<seo title="Keras with MobilenetV2 for Deep Learning | MobilenetV2 | RidgeRun" titlemode="replace" keywords="GStreamer,  Nvidia, Jetson TX2 EVM, Jetson TX2, CUDA, OpenCV,JetPack, TensorFlow, R2Inference, GstInference, GStreamer AI inference, AI, Artificial Intelligence, Inference, AI Inference, NVIDIA Transfer Learning, deep stream, Tensorfile, Keras, MobilenetV2 for Deep Learning,TensorFlow, MobileNetV2 model" description="Learn about how to create models using MobileNetV2 with Keras in Ubuntu 16.04 for PC"></seo>


<table>
<table>
Line 20: Line 19:
  pip3 install tensorflow
  pip3 install tensorflow


Note: TensorFlow reserves all GPU memory available even though it doesn't need it. To change this and configure it to reserve only the necessary memory you should write the following before creating the model:
<br>
 
<br>
{{Ambox
|type=notice
|small=left
|issue='''TensorFlow reserves all GPU memory available even though it doesn't need it. To change this and configure it to reserve only the necessary memory you should write the following before creating the model:'''
|style=width: auto; margin-right: 0px;
|textstyle=width: auto;
}}
  import tensorflow as tf
  import tensorflow as tf
  config = tf.ConfigProto()
  config = tf.ConfigProto()
Cookies help us deliver our services. By using our services, you agree to our use of cookies.