Comments (7)
@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.
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.
The instructions work on Linux, but produce a similar error on Windows.
from reinforcement-learning-an-introduction.
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.
@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.
@vadimq That's awesome! Maybe I should add sys.path.append
later on to solve this problem thoroughly.
from reinforcement-learning-an-introduction.
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)
- Unable to get the same results while formulating differently HOT 1
- A simpler draw function HOT 2
- nit: chapter 6 references
- something wrong in matplotlib HOT 2
- Generalization to abstract classes for Environment/Agents? HOT 2
- tictactoe compete() plays 1000 almost identical games HOT 1
- typo
- wrong figure number for chapter 11
- ten_armed_testbed.py中的figure2_3为何不用“sample_averages”
- problem about chapter04/car_rental.py HOT 1
- example to use it on human genetic data?
- Problem of excercise 2.5
- The plicy of chapter1 HOT 1
- Wrong Bellman equation for Jack's car rental problem? HOT 1
- Unclear point for the code in Blackjack example HOT 1
- l
- ch06 random_walk td method HOT 1
- chapter4 gamblers_problem, showing multiple best actions
- Chapter 2: Couldn't find the file '../images/figure_2_1.png'
- Citing this repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reinforcement-learning-an-introduction.