ha121ppy
ha121ppy
@longzeyilang, I tried your version of 'def deep_rank_model():' but got the following error: Error when checking input: expected input_2 to have shape (56, 56, 3) but got array with shape...
@IAmAbdusKhan,@longzeyilang Thanks! @longzeyilang what do you mean ' the centre loss function'? I have adjust loss function as following, do you mean that? `def triplt_loss(y_true,y_pred): y_pred = K.clip(y_pred, _EPSILON, 1.0-_EPSILON)...
@fafa92 , I generated my own triplets referring code in 'tripletSampler.py'. The adjust I mentioned above is to make sure triplets in generator are not duplicated