aup8497 / Person-Re-identification-using-Siamese-networks

A Keras implementation of Person re-identification using Siamese network.
MIT License
4 stars 2 forks source link

Two problems; 1) model_akshay_before.hdf5 2)the same shape ((?, 972) vs (?,)) #1

Open M-Ghorbel opened 6 years ago

M-Ghorbel commented 6 years ago

Hello i'm trying to run this code in my pc but i get two errors, the first one with the basic_model_2.py and the second one with the siamese_model.py

I did start with running the basic_model.py after changing the dataset path. Then, i tried to run the second code but i get this error: OSError: Unable to open file (unable to open file: name = 'model_akshay_before.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

when i changed model_akshay_before.hdf5 by model.h5py it works but i don't know if i can do this modification or not.

the second error (with the siamese_model.py) is; ValueError: logits and labels must have the same shape ((?, 972) vs (?,))

Any help please? thank you

shreyanse081 commented 5 years ago

Hello i'm trying to run this code in my pc but i get two errors, the first one with the basic_model_2.py and the second one with the siamese_model.py

I did start with running the basic_model.py after changing the dataset path. Then, i tried to run the second code but i get this error: OSError: Unable to open file (unable to open file: name = 'model_akshay_before.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

when i changed model_akshay_before.hdf5 by model.h5py it works but i don't know if i can do this modification or not.

the second error (with the siamese_model.py) is; ValueError: logits and labels must have the same shape ((?, 972) vs (?,))

Any help please? thank you

Hey @M-Ghorbel did you found any solution for the issue? If yes Please reply.

M-Ghorbel commented 5 years ago

Hello, do i did move to others code... sorry

Le mer. 20 févr. 2019 à 16:49, Shreyans Jain notifications@github.com a écrit :

Hello i'm trying to run this code in my pc but i get two errors, the first one with the basic_model_2.py and the second one with the siamese_model.py

I did start with running the basic_model.py after changing the dataset path. Then, i tried to run the second code but i get this error: OSError: Unable to open file (unable to open file: name = 'model_akshay_before.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

when i changed model_akshay_before.hdf5 by model.h5py it works but i don't know if i can do this modification or not.

the second error (with the siamese_model.py) is; ValueError: logits and labels must have the same shape ((?, 972) vs (?,))

Any help please? thank you

Hey @M-Ghorbel https://github.com/M-Ghorbel did you found any solution for the issue? If yes Please reply.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aup8497/Person-Re-identification-using-Siamese-networks/issues/1#issuecomment-465634165, or mute the thread https://github.com/notifications/unsubscribe-auth/Aiwr-gPZV8AHv9m8S9EurkDIM21jfcIjks5vPW6HgaJpZM4Vx2-2 .

shreyanse081 commented 5 years ago

Hello, do i did move to others code... sorry Le mer. 20 févr. 2019 à 16:49, Shreyans Jain notifications@github.com a écrit : Hello i'm trying to run this code in my pc but i get two errors, the first one with the basic_model_2.py and the second one with the siamese_model.py I did start with running the basic_model.py after changing the dataset path. Then, i tried to run the second code but i get this error: OSError: Unable to open file (unable to open file: name = 'model_akshay_before.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0) when i changed model_akshay_before.hdf5 by model.h5py it works but i don't know if i can do this modification or not. the second error (with the siamese_model.py) is; ValueError: logits and labels must have the same shape ((?, 972) vs (?,)) Any help please? thank you Hey @M-Ghorbel https://github.com/M-Ghorbel did you found any solution for the issue? If yes Please reply. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/Aiwr-gPZV8AHv9m8S9EurkDIM21jfcIjks5vPW6HgaJpZM4Vx2-2 .

Okey Thank You.

hamidjon1376 commented 3 years ago

gs = 0, o_flags = 0) when i c

hello, do you find solution for ((?, 972) vs (?,)) ??? if yes pleas send me solution in my Email (arefnia@stu.yazd.ac.ir)

please and please....