A bug happened!
i have two models:
model_0 assign with input shape of 6,6,1280, which has two layers of GlobalAveragePooling2D and Dense.
mobile_net is mobilenet assign with input shape of 192,192,3, and output shape of 6,6,1280
now i connect the model_1 and model_0, hoping they will connected together.
I finally assembled the two model successfully, the assembled model is named model_1
But when i extract some layer outputs of the model_1, wired things happened~~
i can get the -4 layer output successfully
i can get the -3 layer output successfully
i can not get the -2 layer output
i can not get the -1 layer output
A bug happened!
i have two models:
model_0 assign with input shape of 6,6,1280, which has two layers of GlobalAveragePooling2D and Dense.
mobile_net is mobilenet assign with input shape of 192,192,3, and output shape of 6,6,1280
now i connect the model_1 and model_0, hoping they will connected together.
I finally assembled the two model successfully, the assembled model is named model_1
But when i extract some layer outputs of the model_1, wired things happened~~
i can get the -4 layer output successfully
i can get the -3 layer output successfully
i can not get the -2 layer output
i can not get the -1 layer output
Standlone code to reproduce the issue
A bug happened!
i have two models:
model_0 assign with input shape of 6,6,1280, which has two layers of GlobalAveragePooling2D and Dense.
mobile_net is mobilenet assign with input shape of 192,192,3, and output shape of 6,6,1280
now i connect the model_1 and model_0, hoping they will connected together.
I finally assembled the two model successfully, the assembled model is named model_1
But when i extract some layer outputs of the model_1, wired things happened~~
i can get the -4 layer output successfully
i can get the -3 layer output successfully
i can not get the -2 layer output
i can not get the -1 layer outputA bug happened!
i have two models:
model_0 assign with input shape of 6,6,1280, which has two layers of GlobalAveragePooling2D and Dense.
mobile_net is mobilenet assign with input shape of 192,192,3, and output shape of 6,6,1280
now i connect the model_1 and model_0, hoping they will connected together.
I finally assembled the two model successfully, the assembled model is named model_1
But when i extract some layer outputs of the model_1, wired things happened~~
i can get the -4 layer output successfully
i can get the -3 layer output successfully
i can not get the -2 layer output
i can not get the -1 layer outputA bug happened!
i have two models:
model_0 assign with input shape of 6,6,1280, which has two layers of GlobalAveragePooling2D and Dense.
mobile_net is mobilenet assign with input shape of 192,192,3, and output shape of 6,6,1280
now i connect the model_1 and model_0, hoping they will connected together.
I finally assembled the two model successfully, the assembled model is named model_1
But when i extract some layer outputs of the model_1, wired things happened~~
i can get the -4 layer output successfully
i can get the -3 layer output successfully
i can not get the -2 layer output
i can not get the -1 layer output
Relevant log output
A bug happened!
i have two models:
model_0 assign with input shape of 6,6,1280, which has two layers of GlobalAveragePooling2D and Dense.
mobile_net is mobilenet assign with input shape of 192,192,3, and output shape of 6,6,1280
now i connect the model_1 and model_0, hoping they will connected together.
I finally assembled the two model successfully, the assembled model is named model_1
But when i extract some layer outputs of the model_1, wired things happened~~
i can get the -4 layer output successfully
i can get the -3 layer output successfully
i can not get the -2 layer output
i can not get the -1 layer outputA bug happened!
i have two models:
model_0 assign with input shape of 6,6,1280, which has two layers of GlobalAveragePooling2D and Dense.
mobile_net is mobilenet assign with input shape of 192,192,3, and output shape of 6,6,1280
now i connect the model_1 and model_0, hoping they will connected together.
I finally assembled the two model successfully, the assembled model is named model_1
But when i extract some layer outputs of the model_1, wired things happened~~
i can get the -4 layer output successfully
i can get the -3 layer output successfully
i can not get the -2 layer output
i can not get the -1 layer output
Issue Type
Bug
Source
source
Tensorflow Version
2.8
Custom Code
Yes
OS Platform and Distribution
sdfd
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Standlone code to reproduce the issue
Relevant log output