Trouble saving I3d features
GayatriPurandharT opened this issue · 2 comments
GayatriPurandharT commented
In evaluate_sample.py, the return value of InceptionI3d is model_logits. So are these my I3d features? If yes, how can I save the 'model_logits' ? I tried to convert to numpy array and save in .npy format. But that doesn't seem right as I get this error:
NotImplementedError: Cannot convert a symbolic Tensor (RGB/inception_i3d/Mean:0) to a numpy array.
Can I get some help?
Thanks a lot.
ed-fish commented
Both the logits and the softmax outputs will be tensors. If using latest version of TensorFlow in eager mode (default) you can convert them to numpy arrays by using model_logits.numpy()