Skip to content

Commit d3449a5

Browse files
committed
req test
1 parent 6639628 commit d3449a5

File tree

23 files changed

+289
-221
lines changed

23 files changed

+289
-221
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ jobs:
3232
.
3333
- name: Publish distribution 📦 to Test PyPI
3434
env:
35-
test_pypi_password: ${{ secrets.test_pypi_password }}
36-
if: env.test_pypi_password != null && endsWith(github.ref, 'master')
35+
test_pypi_password: ${{ secrets.test_pypi_secret }}
36+
if: env.test_pypi_password != null && endsWith(github.ref, 'master') && github.repository_owner == 'sintefneodroid'
3737
uses: pypa/gh-action-pypi-publish@master
3838
with:
39-
password: env.test_pypi_password
39+
password: ${{ secrets.test_pypi_secret }}
4040
repository_url: https://test.pypi.org/legacy/
4141
- name: Publish distribution 📦 to PyPI
4242
env:
43-
pypi_password: ${{ secrets.pypi_password }}
44-
if: env.pypi_password != null && startsWith(github.ref, 'refs/tags')
43+
pypi_password: ${{ secrets.pypi_secret }}
44+
if: env.pypi_password != null && startsWith(github.ref, 'refs/tags') && github.repository_owner == 'sintefneodroid'
4545
uses: pypa/gh-action-pypi-publish@master
4646
with:
47-
password: ${{ secrets.pypi_password }}
47+
password: ${{ secrets.pypi_secret }}
4848
#verbose: true
4949
#skip_existing: true

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:303c1ac61a05e76d459f89bf7879123af4cc78b61b4a03108d5e6ef3d8c56ee7
3-
size 8495
2+
oid sha256:5684a401a5dee624290d4620ccb5366cf5cb3c2f81bff1e096ecba58e45e3bbd
3+
size 8699

neodroidagent/agents/numpy_agents/model_free/non_contextual/ucb1_policy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
# -*- coding: utf-8 -*-
33
import argparse
44

5-
from neodroid.environments.droid_environment import SingleUnityEnvironment
5+
from neodroid.environments.droid_environment.unity.deprecated import (
6+
SingleUnityEnvironment,
7+
)
68
from neodroid.utilities import Displayable
79
from neodroidagent.agents.numpy_agents.numpy_agent import NumpyAgent
810
from neodroidagent.utilities.exploration.sampling.ucb1 import UCB1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Model Based
2+
Iterate all transitions and record all values

neodroidagent/agents/torch_agents/model_based/__init__.py

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Deep Model Predictive Control
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
4+
__author__ = "heider"
5+
__doc__ = r"""
6+
7+
Created on 26/01/2022
8+
"""
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
4+
__author__ = "heider"
5+
__doc__ = r"""
6+
7+
Created on 26/01/2022
8+
"""
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Model Free Agents
22

3+
Approximate dynamic programming
4+
35
- [Review](https://lilianweng.github.io/lil-log/2018/04/08/policy-gradient-algorithms.html#ppo)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Off Policy
2+
Sometimes perform random actions (maybe suboptimal) to search space otherwise choose according to the current policy

0 commit comments

Comments
 (0)