Skip to content

(Suspicion of) USE_DAB-inconsistencies #35

@johann-aoe

Description

@johann-aoe

Hey :)

First of all thanks for responding that quickly to my previous "Issue", I appreciate that you're still active here and maintaining the code so nicely. It's been a pleasure to work with your repository.

I have a brief question about something that I noticed, and wanted to clear up if I'm understanding something wrong or if there's a potential semantic inconsistency in your code: your TrackInstances-implementation defaults in the constructor to use_dab = False. This flag is being set to the config's value (e.g. "True") in the train_engine.py, so the created TrackInstance-instance has a query_embed of the size "hidden_dim" initially. However, this constructor-argument-default almost never gets overwritten by you in any of the followup TrackInstances instantiations, e.g. in the "to"-funciton of TrackInstances, the "getitem"-function, "cat_tracked_instances" etc. There you create new TrackInstances without passing the initial TrackInstance's use_dab-property.

So the code initially sets up (correctly) dab-positive TrackInstances, and then at e.g. a synchronization from CPU to GPU (the "to"-call) turns it into a dab-negative TrackInstance.

Is this intentionally?

I would appreciate an answer a lot, as I'm trying to understand your code as nicely as possible, and want to avoid any misconceptions of the code on my side.

Thanks in advance!

Johann

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions