thanif / CPL

MS-Thesis: Proposed a new loss function for estimating Camera Calibration parameters along with a new dataset -- (CVGL Camera Calibration Dataset)
26 stars 3 forks source link

ValueError: The name "mixed0" is used 2 times in the model #4

Closed BrianG13 closed 1 year ago

BrianG13 commented 2 years ago

I am trying to run the jupyter notebook (without any change).

But I have the following error:

image

It happens across all the notebooks. Which tensorflow version are you using?

thanif commented 2 years ago

It's not because of version mismatch. It's about resnet being used multiple times. You should change the layer names in base code of the resnet.

On Tue, 21 Jun 2022, 6:45 pm BrianG13, @.***> wrote:

I am trying to run the jupyter notebook (without any change).

But I have the following error: [image: image] https://github.com/assets/51123168/2b19eef0-9b2b-4169-b59a-7c6e73e594c8

It happens across all the notebooks. Which tensorflow version are you using?

— Reply to this email directly, view it on GitHub https://github.com/thanif/CPL/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFVUDIDSEKLGUZY3NUOXDVQHBPLANCNFSM5ZMNAJ5Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

thanif commented 2 years ago

Sorry, it's not resnet. Its inception-v3.

On Tue, 21 Jun 2022, 9:07 pm Talha Hanif Butt FastNU, @.***> wrote:

It's not because of version mismatch. It's about resnet being used multiple times. You should change the layer names in base code of the resnet.

On Tue, 21 Jun 2022, 6:45 pm BrianG13, @.***> wrote:

I am trying to run the jupyter notebook (without any change).

But I have the following error: [image: image] https://github.com/assets/51123168/2b19eef0-9b2b-4169-b59a-7c6e73e594c8

It happens across all the notebooks. Which tensorflow version are you using?

— Reply to this email directly, view it on GitHub https://github.com/thanif/CPL/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHWFVUDIDSEKLGUZY3NUOXDVQHBPLANCNFSM5ZMNAJ5Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

CMakey commented 11 months ago

for others who don't know how to solve this question https://github.com/keras-team/keras/issues/7412#issuecomment-896367882