One J
Results
2
issues of
One J
The tensorflow is build the grapy first, if the batch size of train set and test set is different, how do I set the value of B?
你好,有两个问题想要请教一下 1. 由于每张图片根据三个聚类结果有三个标签,代码里是根据第一个标签进行PK采样得到一个batch的图片数据,来进行triplet loss的计算。 但是,如何保证这个batch里的每一张图片在根据后两个聚类结果打上伪标签时,在这个batch中能找到正样本来保证triplet loss的正确计算呢? 2. 在selftraining.py文件中的compute_dist()函数中采用了源域数据特征来计算距离,怎么解释呢?我看论文里并没有提到