How can I put an tensorflow model as args into a map function?

Aperta
#314 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start with the provided map(data, model) example and inspect streamz's map behavior for positional arguments and object state. Compare the TensorFlow model before and after the map call, then establish a minimal reproduction and document the observed behavior or the required change.

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

Descrizione

def map(data, model):
model.fit(data)

I want to put an tensorflow model into map function as args, However, the model has changed compared to before. So I am unable to train this model in the map function. Why is that? Why the tensorflow model changes after putting it into the map function.

Lingua principale
Python
Stelle
1.3k
Fork
149
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

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 python-streamz/streamz

Tutte le issue di python-streamz/streamz

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.