Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update finetune_cifar.py #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update finetune_cifar.py #1

wants to merge 1 commit into from

Conversation

lan-qing
Copy link

@lan-qing lan-qing commented Aug 2, 2021

Hello, thudzj,

In Line 17, ScalableBDL/reproduction/finetune_cifar.py:
from scalablebdl.converter import to_bayesian, to_deterministic

However, I found the two functions, to_bayesian and to_deterministic are defined in scalablebdl.mean_field.converter.py and declared in scalablebdl.mean_field.__init__.py. Therefore, following the codes in ScalableBDL/reproduction/finetune_face.py and ScalableBDL/reproduction/finetune_imagenet.py I modified it as follows.

from scalablebdl.mean_field import PsiSGD, to_bayesian, to_deterministic.

Best

Lan-qing

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

Successfully merging this pull request may close these issues.

1 participant