Facing issue while retraining object detection ML package

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

1 Like

Hello @Akshita_Ravula!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hi @Akshita_Ravula

did you by any chance find out what led to this error and were you able to train your model?

Because I have exactly the same error right now and I’m not sure how to proceed.

Regards,
T0Bi

@AntonMcG - could you take a look at this?