Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

use adabn.py #53

Open
yuanhaorannnnnn opened this issue Dec 28, 2022 · 1 comment
Open

use adabn.py #53

yuanhaorannnnnn opened this issue Dec 28, 2022 · 1 comment

Comments

@yuanhaorannnnnn
Copy link

At first, thanks for your work, it's a nice project in DA, DG filed. I'm using your adabn.py to deploy AdaBN method on my model, I read the code, found it's pretty simple and I think maybe there is somthing missing?
From my understanding, AdaBN method is to use the mean and var of the target domain to replace the ones from the training
stage on BN layers, but I just found reset running stats function in the adabn.py.

I'm looking forwar to your reply, thanks!

@Liu2126
Copy link

Liu2126 commented Jun 24, 2024

There is an error when I tried to run adabn.py, the breakpoint appears at the following code:
def check_cfg(self, cfg): assert check_isfile( cfg.MODEL.INIT_WEIGHTS ), "The weights of source model must be provided"
It seems I haven't offer the INIT_WEIGHTS previously however I couldn't find anywhere to solve it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants