Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training Triplet Model on Market-1501 dataset #2

Open
dorukcakmakci opened this issue Apr 4, 2021 · 4 comments
Open

Training Triplet Model on Market-1501 dataset #2

dorukcakmakci opened this issue Apr 4, 2021 · 4 comments

Comments

@dorukcakmakci
Copy link

Hello, I got the following error while training Triplet model on Market-1501 dataset using the command provided in Training section of README.md:

error

I believe the error is caused by the following:

I think self.backbone.fc.in_features in these lines should be replaced with self.backbone.fc.out_features

@finger-monkey
Copy link

Hello, I got the following error while training Triplet model on Market-1501 dataset using the command provided in Training section of README.md:

error

I believe the error is caused by the following:

I think self.backbone.fc.in_features in these lines should be replaced with self.backbone.fc.out_features

Did you run it successfully? Could you share with me?

@finger-monkey
Copy link

I have the same ploblem about "Training Triplet Model on Market-1501 dataset".

Hello, I got the following error while training Triplet model on Market-1501 dataset using the command provided in Training section of README.md:

error

I believe the error is caused by the following:

I think self.backbone.fc.in_features in these lines should be replaced with self.backbone.fc.out_features

I have the same ploblem about this. And when I rectify the self.backbone.fc.in_features to self.backbone.fc.out_features, it will lead to another question as following:
image
you can found the accuracy never changed, Could you share me how to solve this problem.
All the best.

@finger-monkey
Copy link

could you help me?

@qbouniot
Copy link
Collaborator

Hello, I updated the code and corrected the error in the Triplet model. The problem was in the modification of the last layer of the pretrained resnet.
I launched it to verify and everything should work correctly now. Once you have pulled the last version of the code, can you confirm me that it works on your side ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants