Giter Club home page Giter Club logo

daps's People

Contributors

caposerenity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

daps's Issues

About hybrid memory re-id loss implementation

Hi, I have question about the implementation in hm.py loss.

image

Why did you use masked_softmax in the above code?

and also what is the meaning of below code?

nums = torch.zeros(labels.max()+1, 1).float().cuda()
nums.index_add_(0, labels, torch.ones(self.num_samples,1).float().cuda())
mask = (nums>0).float()
sim /= (mask*nums+(1-mask)).clone().expand_as(sim)

I think this code is same as SPCL re-ID code, but there is not much explantation.

Is using masked re-ID loss neccessary?

Runtimeerror during training

Hi, I am facing some error while running your codes.

There was some error preparing the setting
such as faiss-gpu, apex, ex..
but I made the code running and like below.
image

THe memory seems to be initalized but the error comes up right at the
begin of training.
image

Could you give some help?

About len_iter

DAPS/utils/utils.py

Lines 84 to 91 in a77577e

class MetricLogger(object):
def __init__(self, delimiter="\t", dataset=None):
self.meters = defaultdict(SmoothedValue)
self.delimiter = delimiter
if dataset == 'CUHK-SYSU':
self.len_itr = 2240
elif dataset == 'PRW':
self.len_itr = 1140

In that part of the code, CUHK-SYSU specifies len_itr as 2240, but the train_log you uploaded shows 1420. Why is there such a difference?

About 'undetected person'

image

Does "undetected person" mean someone who needs to find it but couldn't find it, or someone who doesn't have to? If it's "someone you don't have to find" does it mean someone who isn't ground truth labeling in the dataset?

About implementation details

Hi. Thank you for your great work.

I was wondering why is the LUT_SIZE=6015
when the target domain is set to CUHK-SYSU?

Also the CUHK-SYSU(11,206) has more scene images than PRW(5,704).
If the batch size is set to 4 (2 for CUHK and 2 for PRW),
in each epoch are there some images in CUHK-SYSU that are not fed into the model for training?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.