AbnerHqC / AbnerHqC/GaitSet

你好,您代码中的triplet_loss中输入feature注释的(n,m,d), 为什么在实际应用时permute成了(m,n,d)作为输入?

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
620
Forks
176
PR merge metrics
PR metrics pending

Description

gaitset.py的输出应该是(n,m,d)吧,在model.py中输入triplet_loss前,
triplet_feature = feature.permute(1, 0, 2).contiguous()
triplet_label = target_label.unsqueeze(0).repeat(triplet_feature.size(0), 1)
请问这样不就将feature变为(m,n,d)了嘛,triplet_loss代码看的不是很懂,注释的输入是(n,m,d).
另外,请问这里边n是否是batch_size,m=62, d=256,不知道理解的对不对?因为论文中HPP部分用n表示了strip是个数即62,其他部分还用n表示了帧数

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.