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

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()"

@chengduoZH chengduoZH requested a review from gangliao August 1, 2017 08:33
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 chengduoZH requested a review from luotao1 August 31, 2017 16:16
@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.

5 participants