Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

fix 02.recognize_digits notebook error #357

Merged
merged 3 commits into from
Sep 1, 2017
Merged

fix 02.recognize_digits notebook error #357

merged 3 commits into from
Sep 1, 2017

Conversation

chengduoZH
Copy link
Contributor

@chengduoZH chengduoZH commented Aug 1, 2017

name " file " is not defined in interactive mode.
so change the "cur_dir = os.path.dirname (os.path.realpath (file))" to 'cur_dir = os.getcwd()"

Copy link
Contributor

@gangliao gangliao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! LGTM

@chengduoZH
Copy link
Contributor Author

@luotao1 看一下cur_dir这么改可以吗

@luotao1
Copy link
Collaborator

luotao1 commented Sep 1, 2017

可以顺便把其他课的一起改了 #363 看看其他课是不是也有同样的错误。

@chengduoZH
Copy link
Contributor Author

cur_dir = os.path.dirname (os.path.realpath (file))只在book中02,03中出现,除了train.py中的,其他都改了

@luotao1 luotao1 merged commit ed27028 into develop Sep 1, 2017
@chengduoZH chengduoZH deleted the docker_book branch September 1, 2017 02:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants