Skip to content

Commit

Permalink
fixed import stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoQuentin committed Feb 10, 2024
1 parent 3130cca commit 36e0123
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
[tool.poetry]
name = "special-syllabus"
name = "ML_Project"
version = "0.1.0"
description = "Leo and Hallvard's Special Syllabus about RL and transformers"
description = "Hallvard and Leo's machine learning endeavor"
authors = ["Your Name <you@example.com>"]
license = "n"
license = "MIT"
readme = "README.md"
packages = [{include = "reinforcement_learning", from = "src"}]
packages = [
{ include = "reinforcement_learning", from = "src" },
{ include = "transformers", from = "src" }
]

[tool.poetry.dependencies]
python = "^3.10"
jupyter = "^1.0.0"


[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion src/reinforcement_learning/agents/policy_gradient_agent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import torch
from base_agent import Agent
from reinforcement_learning.agents import Agent


class PolicyGradientAgent(Agent):
Expand Down
2 changes: 1 addition & 1 deletion src/reinforcement_learning/agents/value_deep_q_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import numpy as np
import torch
from reinforcement_learning.agents.base_agent import Agent
from reinforcement_learning.agents import Agent


class ValueDeepQAgent(Agent):
Expand Down

0 comments on commit 36e0123

Please sign in to comment.