faheemirfan
faheemirfan
import contextlib2 from google3.third_party.tensorflow_models.object_detection.dataset_tools import tf_record_creation_util num_shards=7 output_filebase='train.record' with contextlib2.ExitStack() as tf_record_close_stack: output_tfrecords = tf_record_creation_util.open_sharded_output_tfrecords( tf_record_close_stack, output_filebase, num_shards) for index, example in examples: tf_example = create_tf_example(example) output_shard_index = index %...
I am getting error even after using model_main.py.. It runs for some steps then give me this error [[{{node cond_3/Detections_Left_Groundtruth_Right/3/_1699}} = _HostRecv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device_incarnation=1, tensor_name="edge_220_cond_3/Detections_Left_Groundtruth_Right/3", tensor_type=DT_STRING, _device="/job:localhost/replica:0/task:0/device:GPU:0"]()]]