Closed vokhidovhusan closed 2 years ago
Hi @layumi sorry for bothering you. May I ask you again?
def extract_feature(/*...*/): // ... for data in tqdm(dataloaders): //... ff = torch.FloatTensor(n,512).zero_().cuda()
Where did 512 come from ? I am curious about the reason why you set the parameter as 512.
Hi @martianvenusian , It is the dimension of the feature before the classification layer. https://github.com/layumi/AICIty-reID-2020/blob/master/pytorch/model.py#L43
Hi @layumi sorry for bothering you. May I ask you again?
Where did 512 come from ? I am curious about the reason why you set the parameter as 512.