提交 1c7a23c5 编写于 作者: W weishengyu

dbg

上级 f9b4e0f0
......@@ -30,6 +30,6 @@ class FC(nn.Layer):
self.fc = paddle.nn.Linear(
self.embedding_size, self.class_num, weight_attr=weight_attr)
def forward(self, input, label):
def forward(self, input):
out = self.fc(input)
return out
......@@ -361,7 +361,7 @@ class Trainer(object):
# camera_id_mask = (camera_id_block != gallery_camera_id)
# similarity_matrix = similarity_matrix.masked_select(
# camera_id_mask)
if similarity_matrix is None:
if cum_similarity_matrix is None:
cum_similarity_matrix = similarity_matrix
else:
cum_similarity_matrix = paddle.concat(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册