Skip to content

Update finetune_cifar.py - #1

Open
lan-qing wants to merge 1 commit into
thudzj:masterfrom
lan-qing:master
Open

lan-qing wants to merge 1 commit into
thudzj:masterfrom
lan-qing:master

Conversation

@lan-qing

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

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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