Skip to content

Commit

Permalink
relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanFloris committed May 11, 2019
1 parent 08c4f61 commit a50c9c2
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion library/dqn/dqn.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""
import os
import sys
sys.path.append('../')
import itertools
from datetime import datetime
import tensorflow as tf
Expand Down
4 changes: 3 additions & 1 deletion playgrounds/breakout_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
Training for the game of breakout
"""
import sys
sys.path.append('../')
from pathlib import Path
p = Path(__file__).resolve().parents[1]
sys.path.append(str(p))
from library.dqn.dqn import DQNAgent

# make environment
Expand Down

0 comments on commit a50c9c2

Please sign in to comment.