Commit 61f6c355 authored by robinechuca's avatar robinechuca
Browse files

ajout tensorflow

parent 14a3d2cd
,robin,bourinix,19.12.2020 15:14,file:///home/robin/.config/libreoffice/4;
\ No newline at end of file
beach.jpg

30.9 KB

File added
#!/usr/bin/env python3
"""
|=======================|
| Signe les images avec |
| des reseaux profonds. |
|=======================|
Se base sur 'tensorflow-models/tutorials/image/imagenet'.
"""
import os
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2" # Pour eviter les messages de la part de tensorflow.
import tensorflow.compat.v1 as tf
IMAGE = "beach.jpg"
with tf.gfile.FastGFile(IMAGE, "rb") as f:
graph_def = tf.GraphDef()
File added
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment