Arnas commited on
Commit
b3e3821
1 Parent(s): e7650e8

cleanup and fix

Browse files
Files changed (3) hide show
  1. README.md +3 -3
  2. example.py +3 -3
  3. model/agent.py +0 -2
README.md CHANGED
@@ -34,9 +34,9 @@ More details about the project and the trained agent can be found in the [projec
34
  import gym
35
  import yaml
36
  import torch
37
- from helpers.qnn import QuantumNet
38
- from helpers.wrappers import BinaryWrapper
39
- from helpers.agent import Agent
40
 
41
  # Environment
42
  env_name = 'FrozenLake-v1'
 
34
  import gym
35
  import yaml
36
  import torch
37
+ from model.qnn import QuantumNet
38
+ from hemodellpers.wrappers import BinaryWrapper
39
+ from model.agent import Agent
40
 
41
  # Environment
42
  env_name = 'FrozenLake-v1'
example.py CHANGED
@@ -1,9 +1,9 @@
1
  import gym
2
  import yaml
3
  import torch
4
- from helpers.qnn import QuantumNet
5
- from helpers.wrappers import BinaryWrapper
6
- from helpers.agent import Agent
7
 
8
  # Environment
9
  env_name = 'FrozenLake-v1'
 
1
  import gym
2
  import yaml
3
  import torch
4
+ from model.qnn import QuantumNet
5
+ from model.wrappers import BinaryWrapper
6
+ from model.agent import Agent
7
 
8
  # Environment
9
  env_name = 'FrozenLake-v1'
model/agent.py CHANGED
@@ -1,5 +1,3 @@
1
- # Based on : https://github.com/djbyrne/core_rl/blob/master/algos/dqn/model.py
2
-
3
  import numpy as np
4
  import torch
5
 
 
 
 
1
  import numpy as np
2
  import torch
3