Giter Club home page Giter Club logo

Comments (11)

wanghui589 avatar wanghui589 commented on July 26, 2024

I have the same problem, has anyone solved it?

from on-policy.

sinizu avatar sinizu commented on July 26, 2024

I have the same problem, has anyone solved it?

it should be modified.

from on-policy.

Shenyiou avatar Shenyiou commented on July 26, 2024

but what to change? the codes below only need x

from on-policy.

sinizu avatar sinizu commented on July 26, 2024

but what to change? the codes below only need x
maybe:

def forward(self, x, a=None):

from on-policy.

Shenyiou avatar Shenyiou commented on July 26, 2024

but what to change? the codes below only need x
maybe:
python '''
def forward(self, x, a=None):
'''

sorry, it doesn't work

Traceback (most recent call last):
File "/home/qss/syo/onpolicy/scripts/train/train_mpe.py", line 169, in
main(sys.argv[1:])
File "/home/qss/syo/onpolicy/scripts/train/train_mpe.py", line 154, in main
runner.run()
File "/home/qss/syo/onpolicy/runner/shared/mpe_runner.py", line 28, in run
values, actions, action_log_probs, rnn_states, rnn_states_critic, actions_env = self.collect(step)
File "/home/qss/.conda/envs/syo/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 15, in decorate_context
return func(*args, **kwargs)
File "/home/qss/syo/onpolicy/runner/shared/mpe_runner.py", line 121, in collect
raise NotImplementedError
NotImplementedError

from on-policy.

sinizu avatar sinizu commented on July 26, 2024

raise NotImplementedError


The code above also needs to be changed

# raise NotImplementedError
actions_env = actions

from on-policy.

Shenyiou avatar Shenyiou commented on July 26, 2024

@sinizu would you mind give me your emal please. there are still some problems i want to talk with you.

from on-policy.

chillybird avatar chillybird commented on July 26, 2024

You can develop it just like discrete action implement. But i can not get satisfied result when i use the modified code.

from on-policy.

sinizu avatar sinizu commented on July 26, 2024

@sinizu would you mind give me your emal please. there are still some problems i want to talk with you.

You can leave yours. I'll text you when I'm free

from on-policy.

Shenyiou avatar Shenyiou commented on July 26, 2024

You can leave yours. I'll text you when I'm free

thank a lot! I've successfully changed it to continuous action space. however the result is slightly inferior compared with discrete version.

from on-policy.

kargarisaac avatar kargarisaac commented on July 26, 2024

@Shenyiou
would you mind share your code or tell what you have changed? That would help a lot

from on-policy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.