Skip to content

Commit

Permalink
005
Browse files Browse the repository at this point in the history
  • Loading branch information
austinlee04 committed Dec 28, 2020
1 parent 3c795a7 commit c878ba7
Show file tree
Hide file tree
Showing 11 changed files with 3,168 additions and 1 deletion.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added log files/005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,157 changes: 3,157 additions & 0 deletions log files/log sample.txt

Large diffs are not rendered by default.

Empty file added log files/log_002.txt
Empty file.
2 changes: 2 additions & 0 deletions log files/log_003.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions log files/log_004.txt

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion new/Agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,16 @@ def visualization(self):
tLight6 = Q_Agent(actions = [0,0])
tLight7 = Q_Agent(actions = [0,0])

for episode in range(1,2101):
for episode in range(1,5001):
state = env.reset()

timeStep = 1

while True :
'''
if episode > 2000 :
tLight1.epsilon = 0
'''

#print(state, episode, timeStep)
action1 = tLight1.get_action(state)
Expand Down
3 changes: 3 additions & 0 deletions new/log_005(epsilon = 0).txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]

[822, 822, 820, 822, 823, 819, 805, 834, 814, 810, 831, 832, 822, 825, 820, 811, 817, 814, 824, 816, 826, 828, 825, 822, 834, 810, 842, 818, 819, 823, 819, 818, 825, 822, 830, 827, 825, 822, 818, 831, 827, 826, 818, 824, 821, 815, 827, 828, 806, 814, 834, 825, 812, 821, 820, 835, 819, 817, 826, 822, 821, 823, 806, 842, 840, 842, 826, 832, 821, 821, 821, 837, 826, 831, 826, 815, 819, 828, 835, 821, 818, 815, 808, 815, 799, 841, 816, 825, 813, 814, 813, 826, 818, 842, 822, 817, 815, 823, 830, 819]

0 comments on commit c878ba7

Please sign in to comment.