Giter Site home page Giter Site logo

Comments (7)

ShangtongZhang avatar ShangtongZhang commented on August 23, 2024 1

@Tipplynne It seems time for me to totally solve this problem -- I just totally removed the utils folder. Please update to the latest version and it should work well.

from reinforcement-learning-an-introduction.

ShangtongZhang avatar ShangtongZhang commented on August 23, 2024

Please follow the usage section in readme strictly (including in which directory to run the script). Otherwise you have to make sure path of utils directory is in current python path by yourself.

from reinforcement-learning-an-introduction.

vadimq avatar vadimq commented on August 23, 2024

The instructions work on Linux, but produce a similar error on Windows.

from reinforcement-learning-an-introduction.

ShangtongZhang avatar ShangtongZhang commented on August 23, 2024

Hi @vadimq , I'm so sorry that I cannot provide support for Windows as I only have mac and ubuntu. I believe all is about to configure path properly.

from reinforcement-learning-an-introduction.

vadimq avatar vadimq commented on August 23, 2024

@ShangtongZhang Thank you for the fast response. I ended up installing the repository as a package using pip install -e reinforcement-learning-an-introduction/ after cloning.

from reinforcement-learning-an-introduction.

ShangtongZhang avatar ShangtongZhang commented on August 23, 2024

@vadimq That's awesome! Maybe I should add sys.path.append later on to solve this problem thoroughly.

from reinforcement-learning-an-introduction.

crysclitheroe avatar crysclitheroe commented on August 23, 2024

Hmm... I am also having trouble. I changed the script TenArmedTestbed.py to include; import sys
sys.path.append('../utils')
from utils import *
But now am getting a name Error (name 'argmax' is not defined)
Using Mac and vamdimq's approach does not work either.

from reinforcement-learning-an-introduction.

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.