How do I convert a pretrained Mask-RCNN model in TF1 to TF2-Keras ?

Aperta
#1,001 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
keras, python, tensorflow

Direzione di ricerca

The issue asks how to convert a TF1 Mask-RCNN checkpoint from the Fashionpedia project in the tpu repository into a TF2 Keras SavedModel, but it names no file or function to change. Start from the project's detection code under models/official/detection and its config files to see how the checkpoint is loaded. The issue is over three years old, has one comment, and no clear done state, so it is not a good first contribution.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I am trying to take the pre-trained Mask RCNN from the Fashionpedia project https://github.com/tensorflow/tpu/tree/master/models/official/detection/projects/fashionpedia with the given checkpoints and config files and convert it to a tf saved_model format. I can use the model for inference, but I want to save it in a more recent format. I can't seem to find the right documentation https://www.tensorflow.org/guide/migrate/migrate_tf2 or examples of this. I went through the migration form TF1 to TF2 documentation, but didn't really see any methods there. Any help will be really helpful.

Lingua principale
Jupyter Notebook
Stelle
5.3k
Fork
1.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tensorflow/tpu

Tutte le issue di tensorflow/tpu

Issue simili

Altre issue su Machine Learning

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.