ValueError: Only fixed_shape_resizeris supported with tflite. Found keep_aspect_ratio_resize
@laxmareddyp ya está trabajando en esto.
Desde el 15/2/2024.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- I am using the latest TensorFlow Model Garden release and TensorFlow 2.
- I am reporting the issue to the correct repository. (Model Garden research directory)
- I checked to make sure that this issue has not already been filed.
1. The entire URL of the file you are using
2. Describe the bug
While trying to create tflite graph using
python3 object_detection/export_tflite_graph_tf2.py --pipeline_config_path ssd_efficientdet_d0_512x512_coco17_tpu-8.config --trained_checkpoint_dir /checkpoints --output_directory /ssd_tfexport
I am getting error,
File ".local/lib/python3.8/site-packages/object_detection/export_tflite_graph_lib_tf2.py", line 100, in _process_config
raise ValueError(
ValueError: Only fixed_shape_resizeris supported with tflite. Found keep_aspect_ratio_resizer
I checked the .config file and looks like the keep_aspect_ratio_resizer is mentioned there. How do I get rid of this error and successfully create tflite graph for tflite conversion?
6. System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
- TensorFlow installed from (source or binary):pip install
- TensorFlow version (use command below):2.13.1
- Python version:3.8
- Lenguaje dominante
- Python
- Estrellas
- 77.6k
- Forks
- 44.8k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de tensorflow/models
-
Verify evals on Papers with CodeAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
tensorflow/models#13653 ·
-
object_detection_tutorial.ipynb pretrained model "resnet50 imagenet"Quizá libre de nuevo @laxmareddyp la tomó hace 202 días y no hay ningún pull request abierto. Abiertotype:support
tensorflow/models#13634 · 2 comentarios · 1 reacción · 1 asignado ·
-
Tag version compatible with Tensorflow 2.20Quizá libre de nuevo @bharatjetti la tomó hace 276 días y no hay ningún pull request abierto. Abiertomodels:official type:bug
tensorflow/models#13607 · 1 comentario · 1 asignado ·
-
models:research type:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
tensorflow/models#13600 ·
-
Installation Issues on Python 3.13Quizá libre de nuevo @bharatjetti la tomó hace 245 días y no hay ningún pull request abierto. Abiertomodels:official type:bug
tensorflow/models#13587 · 9 comentarios · 1 asignado ·
Todos los issues de tensorflow/models
Issues similares
-
`destroy` sans terminal répond « Aborted. » au lieu de réclamer `--yes` comme `clean` et `reset`Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
stephrobert/dsoxlab#354 ·
Los mantenedores suelen responder en 1 día
-
hardware help wanted testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
jasonacox/pypowerwall#472 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: DoubleMLRDDData accepts a score_col that is no data column (as in its docstring example); the running variable then becomes a covariate and RDFlex failsPosiblemente ocupada @vrjdev la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
DoubleML/doubleml-for-py#455 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Python mod.Box[T] annotation gets a false generic_arg edge that replaces the parameter_type one ('is' on tree-sitter nodes)Posiblemente ocupada @rohit-jsfreaky la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Graphify-Labs/graphify#5110 · 1 comentario ·
Los mantenedores suelen responder en 2 días