Giter VIP home page Giter VIP logo

Comments (8)

AlexZhou1995 avatar AlexZhou1995 commented on July 26, 2024 9

Just open rllab/sampler/stateful_pool.py and fix the typo.
from joblib.pool import MemmapingPool -> from joblib.pool import MemmappingPool

from rllab.

AlexZhou1995 avatar AlexZhou1995 commented on July 26, 2024 1

@BarelySentient
I found that joblib==0.11 use Memmaping, while joblib=0.13 fixed this typo and use Memmapping.
I guess that one of your machines use 0.13 version and others use 0.11 version.

So you can try to use same version of joblib to solve the problem

from rllab.

BarelySentient avatar BarelySentient commented on July 26, 2024

Frustratingly, one of my machines (both are Ubuntu 18 and using python 2.7.15) works with Memmapping and another works with Memmaping (different number of p's). Is there a way to make both run successfully using synced files?

from rllab.

BarelySentient avatar BarelySentient commented on July 26, 2024

That helps a ton, thank you @AlexZhou1995 !!

from rllab.

StuartFarmer avatar StuartFarmer commented on July 26, 2024

This is terrible. I'd add this just to get around joblib's typo:

try:
    from joblib.pool import MemmapingPool as MemmappingPool
except:
    from joblib.pool import MemmappingPool

from rllab.

GbengaOdesanmi avatar GbengaOdesanmi commented on July 26, 2024

@ALL please can you help me on how to solve this problem? thanks in advance

python maml_examples/maml_trpo_point.py
python3 /home/gbenga/Documents/2019vrepcode/maml_rl-master/maml_examples/scripts/run_experiment_lite.py --n_parallel '1' --snapshot_mode 'last' --seed '1' --plot 'False' --exp_name 'trpomaml1_fbs20_mbs40_flr_0.5metalr_0.01_step11' --log_dir '/home/gbenga/Documents/2019vrepcode/maml_rl-master/maml_examples/data/local/vpg-maml-point100/trpomaml1_fbs20_mbs40_flr_0.5metalr_0.01_step11' --use_cloudpickle 'False' --args_data 'gANjcmxsYWIubWlzYy5pbnN0cnVtZW50ClN0dWJNZXRob2RDYWxsCnEAKYFxAX1xAihYBgAAAF9fYXJnc3EDKGNybGxhYi5taXNjLmluc3RydW1lbnQKU3R1Yk9iamVjdApxBCmBcQV9cQYoWAQAAABhcmdzcQcpWAYAAABrd2FyZ3NxCH1xCShYAwAAAGVudnEKaAQp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AgAAAB1c2VfbWFtbHE3iFgJAAAAc3RlcF9zaXplcThHP4R64UeuFHtYBAAAAHBsb3RxOYl1aBVjc2FuZGJveC5yb2NreS50Zi5hbGdvcy5tYW1sX3RycG8KTUFNTFRSUE8KcTp1YlgFAAAAdHJhaW5xOyl9cTx0cT1YCAAAAF9fa3dhcmdzcT59cT91Yi4='
python3: can't open file '/home/gbenga/Documents/2019vrepcode/maml_rl-master/maml_examples/scripts/run_experiment_lite.py': [Errno 2] No such file or directory

from rllab.

kvas7andy avatar kvas7andy commented on July 26, 2024

@AlexZhou1995 thank you for workaround. Although no PR was proposed, so problem still exists.

from rllab.

j3soon avatar j3soon commented on July 26, 2024

@kvas7andy, A PR seems to be proposed in #241.

from rllab.

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.