I have followed the steps given Object Detection for retraining but facing the below issue.Can any one help me out?
Thanks
per/training_wrapper.py", line 149, in run
raise e
File “/training/wrapper/training_wrapper.py”, line 141, in run
self.run_train_only()
File “/training/wrapper/training_wrapper.py”, line 210, in run_train_only
self.train_model(self.local_dataset_directory)
File “/training/wrapper/training_wrapper.py”, line 101, in train_model
self.model.train(directory)
File “/training/train.py”, line 52, in train
training.main(self.input_lr)
File “/training/training.py”, line 47, in main
load_yolo_weights(Darknet, Darknet_weights) # use darknet weights
File “/training/yolov3/utils.py”, line 104, in load_yolo_weights
conv_layer = model.get_layer(conv_layer_name)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/engine/network.py”, line 563, in get_layer
raise ValueError('No such layer: ’ + name)
ValueError: No such layer: conv2d_75
2020-11-18 09:27:57,238 - main:main:69 - INFO: Starting training job…
2020-11-18 09:27:57,380 - wrapper.upload_log_service:upload_logs_file:55 - INFO: Retry Training Triggered:
2020-11-18 09:27:57,844 - wrapper.gcp_storage_client:download:87 - INFO: Dataset from bucket folder training-faa5f00f-61ad-472f-92cf-24e6f4abab03/1870afac-7e21-4cc7-8ec3-da2a8f6423d8/04da2af1-d9db-4f0d-baaf-b8938777da3e with size 8 downloaded successfully
2020-11-18 09:27:57,845 - wrapper.training_wrapper:train_model:99 - INFO: Start model training…
2020-11-18 09:27:57,845 - wrapper.training_wrapper:initialize_model:93 - INFO: Start model initialization…
2020-11-18 09:27:57,849 - root:init:37 - INFO: Finshed - Function Init : Partitioning done
2020-11-18 09:27:57,849 - wrapper.training_wrapper:initialize_model:96 - INFO: Model initialized successfully
2020-11-18 09:28:05,698 - root:load_yolo_weights:83 - INFO: conv2d_75
2020-11-18 09:28:05,699 - root:load_yolo_weights:90 - INFO: batch_normalization_72
2020-11-18 09:28:05,701 - wrapper.training_wrapper:run:148 - ERROR: Training failed for pipeline type: TRAIN_ONLY, error: No such layer: conv2d_75
2020-11-18 09:28:05,704 - main:main:78 - ERROR: Training Job failed, error: No such layer: conv2d_75
Traceback (most recent call last):
File “trainer_run.py”, line 73, in main
wrapper.run()
File “/training/wrapper/training_wrapper.py”, line 149, in run
raise e
File “/training/wrapper/training_wrapper.py”, line 141, in run
self.run_train_only()
File “/training/wrapper/training_wrapper.py”, line 210, in run_train_only
self.train_model(self.local_dataset_directory)
File “/training/wrapper/training_wrapper.py”, line 101, in train_model
self.model.train(directory)
File “/training/train.py”, line 52, in train
training.main(self.input_lr)
File “/training/training.py”, line 47, in main
load_yolo_weights(Darknet, Darknet_weights) # use darknet weights
File “/training/yolov3/utils.py”, line 104, in load_yolo_weights
conv_layer = model.get_layer(conv_layer_name)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/engine/network.py”, line 563, in get_layer
raise ValueError('No such layer: ’ + name)
ValueError: No such layer: conv2d_75
2020-11-18 09:28:32,857 - main:main:69 - INFO: Starting training job…
2020-11-18 09:28:32,985 - wrapper.upload_log_service:upload_logs_file:55 - INFO: Retry Training Triggered:
2020-11-18 09:28:33,541 - wrapper.gcp_storage_client:download:87 - INFO: Dataset from bucket folder training-faa5f00f-61ad-472f-92cf-24e6f4abab03/1870afac-7e21-4cc7-8ec3-da2a8f6423d8/04da2af1-d9db-4f0d-baaf-b8938777da3e with size 8 downloaded successfully
2020-11-18 09:28:33,542 - wrapper.training_wrapper:train_model:99 - INFO: Start model training…
2020-11-18 09:28:33,542 - wrapper.training_wrapper:initialize_model:93 - INFO: Start model initialization…
2020-11-18 09:28:33,545 - root:init:37 - INFO: Finshed - Function Init : Partitioning done
2020-11-18 09:28:33,545 - wrapper.training_wrapper:initialize_model:96 - INFO: Model initialized successfully
2020-11-18 09:28:42,294 - root:load_yolo_weights:83 - INFO: conv2d_75
2020-11-18 09:28:42,295 - root:load_yolo_weights:90 - INFO: batch_normalization_72
2020-11-18 09:28:42,298 - wrapper.training_wrapper:run:148 - ERROR: Training failed for pipeline type: TRAIN_ONLY, error: No such layer: conv2d_75
2020-11-18 09:28:42,303 - main:main:78 - ERROR: Training Job failed, error: No such layer: conv2d_75
Traceback (most recent call last):
File “trainer_run.py”, line 73, in main
wrapper.run()
File “/training/wrapper/training_wrapper.py”, line 149, in run
raise e
File “/training/wrapper/training_wrapper.py”, line 141, in run
self.run_train_only()
File “/training/wrapper/training_wrapper.py”, line 210, in run_train_only
self.train_model(self.local_dataset_directory)
File “/training/wrapper/training_wrapper.py”, line 101, in train_model
self.model.train(directory)
File “/training/train.py”, line 52, in train
training.main(self.input_lr)
File “/training/training.py”, line 47, in main
load_yolo_weights(Darknet, Darknet_weights) # use darknet weights
File “/training/yolov3/utils.py”, line 104, in load_yolo_weights
conv_layer = model.get_layer(conv_layer_name)
File “/usr/local/lib/python3.6/site-packages/tensorflow/python/keras/engine/network.py”, line 563, in get_layer
raise ValueError('No such layer: ’ + name)
ValueError: No such layer: conv2d_75