Skip to content

ImportError: cannot import name 'UnnormActionPolicy'  #1

Description

@i-Qin

Traceback (most recent call last):
File "E:/Produce/8 Residual Policy Learning/ppo/joystick_control.py", line 5, in
from lunar_lander.joystick_agent import LunarLanderJoystickActor
File "E:\Produce\8 Residual Policy Learning\lunar_lander_init_.py", line 1, in
from lunar_lander.actor import lunar_lander_policy_fn, lunar_lander_qf_fn
File "E:\Produce\8 Residual Policy Learning\lunar_lander\actor.py", line 3, in
from dl.rl.modules import QFunction, UnnormActionPolicy

ImportError: cannot import name 'UnnormActionPolicy' from 'dl.rl.modules' (E:\Produce\8 Residual Policy Learning\dl\rl\modules_init_.py)

hello, when i run the code, i have this question, how should i deal with it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions