Problem with GraphDef version when running demo

Abierto
#1,015 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
15/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

The payload names no file or test; the failing call is tf.saved_model.loader.load(session, ['serve'], saved_model_dir) in the demo notebook. Start by checking which TensorFlow version the saved model was exported with versus the one installed, then try reproducing the DecodeImage op-registration error. Done means either a documented version requirement or a loading fix that works with the demo's saved model. The issue has no comments and is about 3.5 years old, so confirm with a maintainer before investing time.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The following issues arise during this step:_ = tf.saved_model.loader.load(session, ['serve'], saved_model_dir)

Converting GraphDef to Graph has failed. The binary trying to import the GraphDef was built when GraphDef version was 440. The GraphDef was produced by a binary built when GraphDef version was 778. The difference between these versions is larger than TensorFlow's forward compatibility guarantee. The following error might be due to the binary trying to import the GraphDef being too old: Op type not registered 'DecodeImage' in binary running on DESKTOP-K3E9O71. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) tf.contrib.resampler should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.

Lenguaje dominante
Jupyter Notebook
Estrellas
5.3k
Forks
1.7k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tensorflow/tpu

Todos los issues de tensorflow/tpu

Issues similares

Más issues de Machine Learning

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.