-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Tred to training with custom datasets :
python main.py --mode=train_and_eval --num_classes=8 --training_file_pattern=tfrecord/train/train*.tfrecord --validation_file_pattern=tfrecord/val/val*.tfrecord --val_json_file=annotations/instances_minival2014.json --model_name=efficientdet-d0 --model_dir=/tmp/efficientdet-d0-scratch --ckpt=efficientdet-d0 --train_batch_size=8 --eval_batch_size=8 --eval_samples=1024 --num_examples_per_epoch=15717 --num_epochs=1 --hparams="use_bfloat16=false,num_classes=8,moving_average_decay=0" --use_tpu=False
15 11:29:47.601560 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode6/op_after_combine11/bn/gamma/Momentum (fpn_cells/cell_2/fnode6/op_after_combine11/bn/gamma/Momentum) -- not in ckpt
I0415 11:29:47.601620 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode6/op_after_combine11/bn/beta/Momentum (fpn_cells/cell_2/fnode6/op_after_combine11/bn/beta/Momentum) -- not in ckpt
I0415 11:29:47.601680 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode7/WSM/Momentum (fpn_cells/cell_2/fnode7/WSM/Momentum) -- not in ckpt
I0415 11:29:47.601739 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode7/WSM_1/Momentum (fpn_cells/cell_2/fnode7/WSM_1/Momentum) -- not in ckpt
I0415 11:29:47.601799 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode7/op_after_combine12/conv/depthwise_kernel/Momentum (fpn_cells/cell_2/fnode7/op_after_combine12/conv/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.601859 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode7/op_after_combine12/conv/pointwise_kernel/Momentum (fpn_cells/cell_2/fnode7/op_after_combine12/conv/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.601919 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode7/op_after_combine12/conv/bias/Momentum (fpn_cells/cell_2/fnode7/op_after_combine12/conv/bias/Momentum) -- not in ckpt
I0415 11:29:47.601978 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode7/op_after_combine12/bn/gamma/Momentum (fpn_cells/cell_2/fnode7/op_after_combine12/bn/gamma/Momentum) -- not in ckpt
I0415 11:29:47.602038 140068141688640 utils.py:107] skip fpn_cells/cell_2/fnode7/op_after_combine12/bn/beta/Momentum (fpn_cells/cell_2/fnode7/op_after_combine12/bn/beta/Momentum) -- not in ckpt
I0415 11:29:47.602097 140068141688640 utils.py:107] skip class_net/class-0/depthwise_kernel/Momentum (class_net/class-0/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.602158 140068141688640 utils.py:107] skip class_net/class-0/pointwise_kernel/Momentum (class_net/class-0/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.602234 140068141688640 utils.py:107] skip class_net/class-0/bias/Momentum (class_net/class-0/bias/Momentum) -- not in ckpt
I0415 11:29:47.602357 140068141688640 utils.py:107] skip class_net/class-0-bn-3/gamma/Momentum (class_net/class-0-bn-3/gamma/Momentum) -- not in ckpt
I0415 11:29:47.602454 140068141688640 utils.py:107] skip class_net/class-0-bn-3/beta/Momentum (class_net/class-0-bn-3/beta/Momentum) -- not in ckpt
I0415 11:29:47.602572 140068141688640 utils.py:107] skip class_net/class-1/depthwise_kernel/Momentum (class_net/class-1/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.602673 140068141688640 utils.py:107] skip class_net/class-1/pointwise_kernel/Momentum (class_net/class-1/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.602771 140068141688640 utils.py:107] skip class_net/class-1/bias/Momentum (class_net/class-1/bias/Momentum) -- not in ckpt
I0415 11:29:47.602869 140068141688640 utils.py:107] skip class_net/class-1-bn-3/gamma/Momentum (class_net/class-1-bn-3/gamma/Momentum) -- not in ckpt
I0415 11:29:47.602966 140068141688640 utils.py:107] skip class_net/class-1-bn-3/beta/Momentum (class_net/class-1-bn-3/beta/Momentum) -- not in ckpt
I0415 11:29:47.603064 140068141688640 utils.py:107] skip class_net/class-2/depthwise_kernel/Momentum (class_net/class-2/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.603162 140068141688640 utils.py:107] skip class_net/class-2/pointwise_kernel/Momentum (class_net/class-2/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.603262 140068141688640 utils.py:107] skip class_net/class-2/bias/Momentum (class_net/class-2/bias/Momentum) -- not in ckpt
I0415 11:29:47.603360 140068141688640 utils.py:107] skip class_net/class-2-bn-3/gamma/Momentum (class_net/class-2-bn-3/gamma/Momentum) -- not in ckpt
I0415 11:29:47.603464 140068141688640 utils.py:107] skip class_net/class-2-bn-3/beta/Momentum (class_net/class-2-bn-3/beta/Momentum) -- not in ckpt
I0415 11:29:47.603558 140068141688640 utils.py:96] skip class_net/class-predict/depthwise_kernel/Momentum -- excluded by ./class-predict/.
I0415 11:29:47.603650 140068141688640 utils.py:96] skip class_net/class-predict/pointwise_kernel/Momentum -- excluded by ./class-predict/.
I0415 11:29:47.603742 140068141688640 utils.py:96] skip class_net/class-predict/bias/Momentum -- excluded by ./class-predict/.
I0415 11:29:47.603844 140068141688640 utils.py:107] skip class_net/class-0-bn-4/gamma/Momentum (class_net/class-0-bn-4/gamma/Momentum) -- not in ckpt
I0415 11:29:47.603933 140068141688640 utils.py:107] skip class_net/class-0-bn-4/beta/Momentum (class_net/class-0-bn-4/beta/Momentum) -- not in ckpt
I0415 11:29:47.604003 140068141688640 utils.py:107] skip class_net/class-1-bn-4/gamma/Momentum (class_net/class-1-bn-4/gamma/Momentum) -- not in ckpt
I0415 11:29:47.604066 140068141688640 utils.py:107] skip class_net/class-1-bn-4/beta/Momentum (class_net/class-1-bn-4/beta/Momentum) -- not in ckpt
I0415 11:29:47.604130 140068141688640 utils.py:107] skip class_net/class-2-bn-4/gamma/Momentum (class_net/class-2-bn-4/gamma/Momentum) -- not in ckpt
I0415 11:29:47.604193 140068141688640 utils.py:107] skip class_net/class-2-bn-4/beta/Momentum (class_net/class-2-bn-4/beta/Momentum) -- not in ckpt
I0415 11:29:47.604268 140068141688640 utils.py:107] skip class_net/class-0-bn-5/gamma/Momentum (class_net/class-0-bn-5/gamma/Momentum) -- not in ckpt
I0415 11:29:47.604344 140068141688640 utils.py:107] skip class_net/class-0-bn-5/beta/Momentum (class_net/class-0-bn-5/beta/Momentum) -- not in ckpt
I0415 11:29:47.604443 140068141688640 utils.py:107] skip class_net/class-1-bn-5/gamma/Momentum (class_net/class-1-bn-5/gamma/Momentum) -- not in ckpt
I0415 11:29:47.604542 140068141688640 utils.py:107] skip class_net/class-1-bn-5/beta/Momentum (class_net/class-1-bn-5/beta/Momentum) -- not in ckpt
I0415 11:29:47.604641 140068141688640 utils.py:107] skip class_net/class-2-bn-5/gamma/Momentum (class_net/class-2-bn-5/gamma/Momentum) -- not in ckpt
I0415 11:29:47.604739 140068141688640 utils.py:107] skip class_net/class-2-bn-5/beta/Momentum (class_net/class-2-bn-5/beta/Momentum) -- not in ckpt
I0415 11:29:47.604839 140068141688640 utils.py:107] skip class_net/class-0-bn-6/gamma/Momentum (class_net/class-0-bn-6/gamma/Momentum) -- not in ckpt
I0415 11:29:47.604938 140068141688640 utils.py:107] skip class_net/class-0-bn-6/beta/Momentum (class_net/class-0-bn-6/beta/Momentum) -- not in ckpt
I0415 11:29:47.605038 140068141688640 utils.py:107] skip class_net/class-1-bn-6/gamma/Momentum (class_net/class-1-bn-6/gamma/Momentum) -- not in ckpt
I0415 11:29:47.605138 140068141688640 utils.py:107] skip class_net/class-1-bn-6/beta/Momentum (class_net/class-1-bn-6/beta/Momentum) -- not in ckpt
I0415 11:29:47.605237 140068141688640 utils.py:107] skip class_net/class-2-bn-6/gamma/Momentum (class_net/class-2-bn-6/gamma/Momentum) -- not in ckpt
I0415 11:29:47.605336 140068141688640 utils.py:107] skip class_net/class-2-bn-6/beta/Momentum (class_net/class-2-bn-6/beta/Momentum) -- not in ckpt
I0415 11:29:47.605421 140068141688640 utils.py:107] skip class_net/class-0-bn-7/gamma/Momentum (class_net/class-0-bn-7/gamma/Momentum) -- not in ckpt
I0415 11:29:47.605488 140068141688640 utils.py:107] skip class_net/class-0-bn-7/beta/Momentum (class_net/class-0-bn-7/beta/Momentum) -- not in ckpt
I0415 11:29:47.605551 140068141688640 utils.py:107] skip class_net/class-1-bn-7/gamma/Momentum (class_net/class-1-bn-7/gamma/Momentum) -- not in ckpt
I0415 11:29:47.605614 140068141688640 utils.py:107] skip class_net/class-1-bn-7/beta/Momentum (class_net/class-1-bn-7/beta/Momentum) -- not in ckpt
I0415 11:29:47.605678 140068141688640 utils.py:107] skip class_net/class-2-bn-7/gamma/Momentum (class_net/class-2-bn-7/gamma/Momentum) -- not in ckpt
I0415 11:29:47.605741 140068141688640 utils.py:107] skip class_net/class-2-bn-7/beta/Momentum (class_net/class-2-bn-7/beta/Momentum) -- not in ckpt
I0415 11:29:47.605806 140068141688640 utils.py:107] skip box_net/box-0/depthwise_kernel/Momentum (box_net/box-0/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.605870 140068141688640 utils.py:107] skip box_net/box-0/pointwise_kernel/Momentum (box_net/box-0/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.605935 140068141688640 utils.py:107] skip box_net/box-0/bias/Momentum (box_net/box-0/bias/Momentum) -- not in ckpt
I0415 11:29:47.605999 140068141688640 utils.py:107] skip box_net/box-0-bn-3/gamma/Momentum (box_net/box-0-bn-3/gamma/Momentum) -- not in ckpt
I0415 11:29:47.606063 140068141688640 utils.py:107] skip box_net/box-0-bn-3/beta/Momentum (box_net/box-0-bn-3/beta/Momentum) -- not in ckpt
I0415 11:29:47.606127 140068141688640 utils.py:107] skip box_net/box-1/depthwise_kernel/Momentum (box_net/box-1/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.606190 140068141688640 utils.py:107] skip box_net/box-1/pointwise_kernel/Momentum (box_net/box-1/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.606254 140068141688640 utils.py:107] skip box_net/box-1/bias/Momentum (box_net/box-1/bias/Momentum) -- not in ckpt
I0415 11:29:47.606318 140068141688640 utils.py:107] skip box_net/box-1-bn-3/gamma/Momentum (box_net/box-1-bn-3/gamma/Momentum) -- not in ckpt
I0415 11:29:47.606381 140068141688640 utils.py:107] skip box_net/box-1-bn-3/beta/Momentum (box_net/box-1-bn-3/beta/Momentum) -- not in ckpt
I0415 11:29:47.606445 140068141688640 utils.py:107] skip box_net/box-2/depthwise_kernel/Momentum (box_net/box-2/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.606509 140068141688640 utils.py:107] skip box_net/box-2/pointwise_kernel/Momentum (box_net/box-2/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.606585 140068141688640 utils.py:107] skip box_net/box-2/bias/Momentum (box_net/box-2/bias/Momentum) -- not in ckpt
I0415 11:29:47.606654 140068141688640 utils.py:107] skip box_net/box-2-bn-3/gamma/Momentum (box_net/box-2-bn-3/gamma/Momentum) -- not in ckpt
I0415 11:29:47.606718 140068141688640 utils.py:107] skip box_net/box-2-bn-3/beta/Momentum (box_net/box-2-bn-3/beta/Momentum) -- not in ckpt
I0415 11:29:47.606782 140068141688640 utils.py:107] skip box_net/box-predict/depthwise_kernel/Momentum (box_net/box-predict/depthwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.606846 140068141688640 utils.py:107] skip box_net/box-predict/pointwise_kernel/Momentum (box_net/box-predict/pointwise_kernel/Momentum) -- not in ckpt
I0415 11:29:47.606911 140068141688640 utils.py:107] skip box_net/box-predict/bias/Momentum (box_net/box-predict/bias/Momentum) -- not in ckpt
I0415 11:29:47.606975 140068141688640 utils.py:107] skip box_net/box-0-bn-4/gamma/Momentum (box_net/box-0-bn-4/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607038 140068141688640 utils.py:107] skip box_net/box-0-bn-4/beta/Momentum (box_net/box-0-bn-4/beta/Momentum) -- not in ckpt
I0415 11:29:47.607116 140068141688640 utils.py:107] skip box_net/box-1-bn-4/gamma/Momentum (box_net/box-1-bn-4/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607175 140068141688640 utils.py:107] skip box_net/box-1-bn-4/beta/Momentum (box_net/box-1-bn-4/beta/Momentum) -- not in ckpt
I0415 11:29:47.607234 140068141688640 utils.py:107] skip box_net/box-2-bn-4/gamma/Momentum (box_net/box-2-bn-4/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607294 140068141688640 utils.py:107] skip box_net/box-2-bn-4/beta/Momentum (box_net/box-2-bn-4/beta/Momentum) -- not in ckpt
I0415 11:29:47.607353 140068141688640 utils.py:107] skip box_net/box-0-bn-5/gamma/Momentum (box_net/box-0-bn-5/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607413 140068141688640 utils.py:107] skip box_net/box-0-bn-5/beta/Momentum (box_net/box-0-bn-5/beta/Momentum) -- not in ckpt
I0415 11:29:47.607472 140068141688640 utils.py:107] skip box_net/box-1-bn-5/gamma/Momentum (box_net/box-1-bn-5/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607531 140068141688640 utils.py:107] skip box_net/box-1-bn-5/beta/Momentum (box_net/box-1-bn-5/beta/Momentum) -- not in ckpt
I0415 11:29:47.607589 140068141688640 utils.py:107] skip box_net/box-2-bn-5/gamma/Momentum (box_net/box-2-bn-5/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607648 140068141688640 utils.py:107] skip box_net/box-2-bn-5/beta/Momentum (box_net/box-2-bn-5/beta/Momentum) -- not in ckpt
I0415 11:29:47.607713 140068141688640 utils.py:107] skip box_net/box-0-bn-6/gamma/Momentum (box_net/box-0-bn-6/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607773 140068141688640 utils.py:107] skip box_net/box-0-bn-6/beta/Momentum (box_net/box-0-bn-6/beta/Momentum) -- not in ckpt
I0415 11:29:47.607832 140068141688640 utils.py:107] skip box_net/box-1-bn-6/gamma/Momentum (box_net/box-1-bn-6/gamma/Momentum) -- not in ckpt
I0415 11:29:47.607892 140068141688640 utils.py:107] skip box_net/box-1-bn-6/beta/Momentum (box_net/box-1-bn-6/beta/Momentum) -- not in ckpt
I0415 11:29:47.607951 140068141688640 utils.py:107] skip box_net/box-2-bn-6/gamma/Momentum (box_net/box-2-bn-6/gamma/Momentum) -- not in ckpt
I0415 11:29:47.608011 140068141688640 utils.py:107] skip box_net/box-2-bn-6/beta/Momentum (box_net/box-2-bn-6/beta/Momentum) -- not in ckpt
I0415 11:29:47.608071 140068141688640 utils.py:107] skip box_net/box-0-bn-7/gamma/Momentum (box_net/box-0-bn-7/gamma/Momentum) -- not in ckpt
I0415 11:29:47.608131 140068141688640 utils.py:107] skip box_net/box-0-bn-7/beta/Momentum (box_net/box-0-bn-7/beta/Momentum) -- not in ckpt
I0415 11:29:47.608190 140068141688640 utils.py:107] skip box_net/box-1-bn-7/gamma/Momentum (box_net/box-1-bn-7/gamma/Momentum) -- not in ckpt
I0415 11:29:47.608249 140068141688640 utils.py:107] skip box_net/box-1-bn-7/beta/Momentum (box_net/box-1-bn-7/beta/Momentum) -- not in ckpt
I0415 11:29:47.608309 140068141688640 utils.py:107] skip box_net/box-2-bn-7/gamma/Momentum (box_net/box-2-bn-7/gamma/Momentum) -- not in ckpt
I0415 11:29:47.608368 140068141688640 utils.py:107] skip box_net/box-2-bn-7/beta/Momentum (box_net/box-2-bn-7/beta/Momentum) -- not in ckpt
INFO:tensorflow:Done calling model_fn.
I0415 11:29:49.044274 140068141688640 estimator.py:1171] Done calling model_fn.
INFO:tensorflow:Create CheckpointSaverHook.
I0415 11:29:49.045373 140068141688640 basic_session_run_hooks.py:546] Create CheckpointSaverHook.
WARNING:tensorflow:Issue encountered when serializing edsummaries.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
'tuple' object has no attribute 'name'
W0415 11:29:50.779332 140068141688640 meta_graph.py:437] Issue encountered when serializing edsummaries.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
'tuple' object has no attribute 'name'
INFO:tensorflow:Graph was finalized.
I0415 11:29:52.982281 140068141688640 monitored_session.py:246] Graph was finalized.
2020-04-15 11:29:52.982752: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-04-15 11:29:53.010787: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 2596920000 Hz
2020-04-15 11:29:53.013378: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f61c0000b20 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-04-15 11:29:53.013423: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2020-04-15 11:29:53.272964: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x556164d73ab0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-04-15 11:29:53.273009: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Tesla M60, Compute Capability 5.2
2020-04-15 11:29:53.273020: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (1): Tesla M60, Compute Capability 5.2
2020-04-15 11:29:53.273936: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
vice: 1, name: Tesla M60, pci bus id: 0000:07:00.0, compute capability: 5.2)
INFO:tensorflow:Restoring parameters from /tmp/efficientdet-d0-scratch/model.ckpt-6248
I0415 11:29:53.287226 140068141688640 saver.py:1293] Restoring parameters from /tmp/efficientdet-d0-scratch/model.ckpt-6248
INFO:tensorflow:training_loop marked as finished
I0415 11:29:56.248856 140068141688640 error_handling.py:115] training_loop marked as finished
WARNING:tensorflow:Reraising captured error
W0415 11:29:56.249081 140068141688640 error_handling.py:149] Reraising captured error
Traceback (most recent call last):
File "/home/yy/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1365, in _do_call
return fn(*args)
File "/home/yy/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _run_fn
target_list, run_metadata)
File "/home/yy/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1443, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [72] rhs shape= [180]
[[{{node save/Assign_222}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ai/.local/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1299, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/home/yy/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 958, in run
run_metadata_ptr)
File "/home/yy/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1181, in _run
feed_dict_tensor, options, run_metadata)
File "/home/yy/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1359, in _do_run
run_metadata)