from multiprocessing.pool import ThreadPool
pool = ThreadPool(processes=5)
pool.map(loadf, (filename for filename in ['model1.h5', 'model2.h5','model3.h5','model4.h5','model5.h5']))
pool.close()
And I get:... TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("Placeholder:0", shape=(43, 80), dtype=float32) is not an element of this graph.How can I remedy this?Thanks in advance!
I ran into this issue (or similar) trying to use dask yesterday. Look at this link (the with graph bit) - specifically my answer - and see if it helps.
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/1078e2a3-b659-4fcf-af42-d19a4fe9341b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.