Giter Club home page Giter Club logo

Comments (6)

Timopheym avatar Timopheym commented on July 22, 2024

@act65 what command are you using to run CommAI?
I have os x Yosemite, it works fine.

tim@Timopheys-MacBook-Pro ~/P/a/C/src> uname -a
Darwin Timopheys-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep  1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
tim@Timopheys-MacBook-Pro ~/P/a/C/src> python3 run.py -l learners.sample_learners.SampleRepeatingLearner -v ConsoleView tasks_config.json
*Start console view*
tim@Timopheys-MacBook-Pro ~/P/a/C/src> python3 --version
Python 3.5.0

from commai-env.

act65 avatar act65 commented on July 22, 2024

From running python run.py tasks_config.json --learner=learners.sample_learners.SampleSilentLearner

I get the same error on linux with py2.7.
The error is irregular, I havent noticed any patterns in when it breaks...

from commai-env.

Timopheym avatar Timopheym commented on July 22, 2024

Thanks @act65! I found the problem and can reproduce it.
There is a trying to get value from set object objects there have to be changed logic due going throw the objects.

It's in FindObjectAroundTask for workaround you just need to remove aj3 task from scheduler.args.tasks in tasks_config.json.

from commai-env.

ajabri avatar ajabri commented on July 22, 2024

Yes, I think in some python3 compatibility refactoring that bug got in there.

from commai-env.

Timopheym avatar Timopheym commented on July 22, 2024

@ajabri don't think so.. FindObjectAroundTask was added after pyhon3 fixes (here 24ecab9#diff-6ff34ab93479918ba7b195bff73b16a5).
Really i can't understand how did you want to get object by direction? Indexing does not work with sets...

from commai-env.

ajabri avatar ajabri commented on July 22, 2024

It's actually from when the find object tasks were incorrectly merged into the navigation tasks. This is now fixed.

from commai-env.

Related Issues (10)

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.