Skip to content

Conversation

@zengmao
Copy link

@zengmao zengmao commented Jan 2, 2025

According to Flux release notes,
https://github.com/FluxML/Flux.jl/blob/cb9bb307b30b9111617e5b28ea1c5398ef3693f3/NEWS.md
version 0.13 replaced loadparam! by loadmodel, and version 0.14.13 deprecated the macro @functor in favor of Flux.@layer. This pull request adapts the code for these two changes.

@zengmao
Copy link
Author

zengmao commented Jan 2, 2025

This fixes the README example and passes double DQN and dueling DQN tests, but some other tests are not passing. Maybe someone more familiar with the codebase could help.

@zengmao zengmao marked this pull request as draft January 2, 2025 21:43
@dylan-asmar
Copy link
Member

Made these changes and a few others in #76.

An update based on how Flux changed the recurrent network layers will be needed to use Flux 0.15 or 0.16. I do not use this package and defer to @MaximeBouton, @zsunberg, or others for insights on the needed changes.

@dylan-asmar
Copy link
Member

See #76

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.

2 participants