tensorboard

tfRecords shown faulty in TF2

筅森魡賤 提交于 2020-12-05 11:38:54
问题 I have a couple of own tfrecord file made by myself. They are working perfectly in tf1, I used them in several projects. However if i want to use them in Tensorflow Object Detection API with tf2 (running the model_main_tf2.py script), I see the following in tensorboard: tensorboard images tab It totally masses up the images. (Running the /work/tfapi/research/object_detection/model_main.py script or even legacy_train and they looks fine) Is tf2 using different kind of encoding in tfrecords? Or

RuntimeError: Encountered unresolved custom op: Normalize.Node number 0 (Normalize) failed to prepare

喜你入骨 提交于 2020-08-26 07:19:27
问题 I'm trying to implement smart reply https://www.tensorflow.org/lite/models/smart_reply/overview concept in Python. You can download tflite model file here https://storage.googleapis.com/download.tensorflow.org/models/tflite/smartreply_1.0_2017_11_01.zip. import numpy as np import tensorflow as tf interpreter = tf.lite.Interpreter(model_path="smartreply.tflite") interpreter.allocate_tensors() While using above code, i'm getting this error, Traceback (most recent call last): File "smart_reply

How to load selected range of samples in Tensorboard

老子叫甜甜 提交于 2020-08-20 08:54:10
问题 I have a Tensorboard log file with 5 million samples. Tensorboard downsamples it when loading so that I don't run out of memory, but it's possible to override this behavior with --samples_per_plugin and load all of them. If I do this, I will run out of memory. Suppose I want to load the first 1000 samples without downsampling (e.g. if I'm interested in the details of what's happening to my network at the beginning of training). Is there a way to have Tensorboard load only a specified subset