Model Zoo ResNet implementation fails with TensorFlow 2.5 custom ops
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- machine-learning
Direzione di ricerca
Inizia riproducendo il malfunzionamento con TensorFlow 2.5 nell’implementazione ResNet di Model Zoo, quindi confronta il caricamento delle operazioni personalizzate con TensorFlow 2.4. L’issue non indica alcun file sorgente né alcun test; il lavoro è completo quando il problema di compatibilità è stato identificato e risolto, in modo che il modello ResNet venga caricato e funzioni con TensorFlow 2.5.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
I'm encountering compatibility issues with the ResNet implementation in Model Zoo when using TensorFlow 2.5.
Environment
- TensorFlow version: 2.5
- Models repository version: (latest as of report date)
- Operating system:
- Python version:
Error Details
When attempting to use the ResNet implementation from the Model Zoo with TensorFlow 2.5, the model fails to load due to incompatibility with custom operations.
Failure Mode
The model fails specifically when loading custom operations that were compiled against previous TensorFlow versions. The error occurs during model initialization before any training or inference can take place.
Affected Components
- Model Zoo ResNet implementation
- Custom operations in TensorFlow 2.5
- Model loading pipeline
Steps to Reproduce
- Install TensorFlow 2.5
- Clone the tensorflow/models repository
- Attempt to load/use the ResNet implementation from Model Zoo
- Observe the failure with custom ops
Expected Behavior
The ResNet implementation should load and function correctly with TensorFlow 2.5.
Potential Workarounds
- Downgrading to TensorFlow 2.4.x temporarily resolves the issue
- Modifying the custom op loading mechanism to be compatible with TF 2.5's API changes
- Using the Keras built-in ResNet implementation as an alternative
Any guidance or fixes to resolve this compatibility issue would be greatly appreciated.
Additional Context
This issue appears to be related to the changes in TensorFlow's C++ API for custom ops between version 2.4 and 2.5.
- Lingua principale
- Python
- Stelle
- 77.6k
- Fork
- 44.8k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tensorflow/models
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
tensorflow/models#13653 ·
-
object_detection_tutorial.ipynb pretrained model "resnet50 imagenet"Forse di nuovo libera @laxmareddyp l’ha presa 202 giorni fa e non c’è nessuna pull request aperta. Apertatype:support
tensorflow/models#13634 · 2 commenti · 1 reazione · 1 assegnatario ·
-
Tag version compatible with Tensorflow 2.20Forse di nuovo libera @bharatjetti l’ha presa 277 giorni fa e non c’è nessuna pull request aperta. Apertamodels:official type:bug
tensorflow/models#13607 · 1 commento · 1 assegnatario ·
-
models:research type:feature
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
tensorflow/models#13600 ·
-
Installation Issues on Python 3.13Forse di nuovo libera @bharatjetti l’ha presa 246 giorni fa e non c’è nessuna pull request aperta. Apertamodels:official type:bug
tensorflow/models#13587 · 9 commenti · 1 assegnatario ·
Tutte le issue di tensorflow/models
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
volcengine/OpenViking#7347 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
duolicious/duolicious#1943 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
fedora-infra/anitya#2166 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NVIDIA/auto-ontology#486 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
NVIDIA/SkillEvaluator#446 ·
I maintainer di solito rispondono entro 2 giorni