All Questions
3 questions
0
votes
0
answers
39
views
Accesing python lists inside TensorFlow graph-traceable functions
I'm trying to access a python list inside a function that can be run in eager mode or graph mode as shown below:
import tensorflow as tf
import numpy as np
class SlotGenerator:
def __init__(self):
...
0
votes
1
answer
1k
views
Tensorflow: how to retain file names in tf.data.Dataset from_generator?
I am struggling with the following. I am creating a tf.data.Dataset using the from_generator method. It works great, but after prediction I would like to investigate which samples were misclassified ...
2
votes
1
answer
1k
views
Tensorflow 2.0 Create a Dataset to feed a model with multiple inputs of different shapes on lazy evaluation
I have a keras model with two inputs of different shape. One side takes in few categorical features, while the other takes multiple time series with length PAST_HISTORY. The output is also multiple ...