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

'SWA' object has no attribute '_optimizer_step_pre_hooks' #5

Open
wanzijing12 opened this issue Mar 27, 2023 · 1 comment
Open

'SWA' object has no attribute '_optimizer_step_pre_hooks' #5

wanzijing12 opened this issue Mar 27, 2023 · 1 comment

Comments

@wanzijing12
Copy link

When I run into ''model.fit(epochs=n_epochs, losscurve=True)" code, the AttributeError: 'SWA' object has no attribute '_optimizer_step_pre_hooks' occured. And 'data/ExperimentalHoldoutPreds.csv' was not found.

@SurgeArrester
Copy link
Collaborator

Hi @wanzijing12, apologies I didn't have the capacity to look into this when you commented. The ExperimentalHoldouts I've added to the data folder, but were accessible in the original paper. I think the predictions you will have to generate yourself using the dataset from the website given in the paper, due to licensing reasons from the university of liverpool.

Did you fix the SWA issue or is that something you still require assistance with?

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

No branches or pull requests

2 participants