Skip to content

In BNM, loss value is negative #12

@guizilaile23

Description

@guizilaile23

Hi, first of all , thanks for the code and your paper, it's really excellent work.
And during the debug, i found the loss value is negative, is that right?
i debug the BNM in DA, the dataset was office31, source is amazon and target is dslr.
the "Transfer loss" will be -0.8 and classifier loss will be 0.02 after 2000 iterations.

and also, i found that if we simple calculate the classifier loss, the target acc will reach 100% near 1800 iteration, which means if we cut the BNM loss, it will be no harm to transfer the net from source to target.

am i missing something?
by the way, we are using pytorch1.9.0

We look forward to your reply. thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions