Skip to content

Commit dfc084b

Browse files
committed
Merge branch 'main' into feature/analyze_dataset
2 parents b5f2693 + 5903b03 commit dfc084b

File tree

79 files changed

+222
-3767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+222
-3767
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
- [ ] Write documentation
1212
- [ ] Create issues for future work
13-
- [ ] This PR is on our `DDLitLab` project board
13+
- [ ] This PR is on our [SoccerDiffusion](https://github.com/orgs/bit-bots/projects/26) project board

.github/workflows/test-dataset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Setup DB with alembic migrations
3333
run: |
34-
cd ./ddlitlab2024/dataset
34+
cd ./soccer_diffusion/dataset
3535
poetry run alembic upgrade head
3636
3737
- name: Populate DB with dummy data

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ ENV/
210210
*.pth
211211

212212
# Wandb Logs
213-
ddlitlab2024/ml/training/wandb/
213+
soccer_diffusion/ml/training/wandb/
214214

215215
# Input data
216216
input/

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "debugpy",
55
"request": "launch",
66
"name": "Launch Bit-Bots import",
7-
"program": "${workspaceFolder}/ddlitlab2024/dataset/cli/run.py",
7+
"program": "${workspaceFolder}/soccer_diffusion/dataset/cli/run.py",
88
"args": [
99
"import",
1010
"bit-bots",
@@ -15,7 +15,7 @@
1515
"type": "debugpy",
1616
"request": "launch",
1717
"name": "Launch B-Human import",
18-
"program": "${workspaceFolder}/ddlitlab2024/dataset/cli/run.py",
18+
"program": "${workspaceFolder}/soccer_diffusion/dataset/cli/run.py",
1919
"args": [
2020
"import",
2121
"b-human",

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,19 @@
33
"bigendian",
44
"dateutil",
55
"ddlitlab",
6+
"denoising",
67
"dtype",
78
"dtypes",
89
"frombuffer",
10+
"gamestate",
911
"ignoretz",
1012
"mcap",
1113
"nanosec",
1214
"ndarray",
1315
"ndim",
1416
"nullable",
1517
"ollama",
18+
"pretraining",
1619
"pybh",
1720
"rclpy",
1821
"resampler",

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# DDLitLab2024 Project Hamburg Bit-Bots
1+
# SoccerDiffusion
22

3-
End-to-end machine learning for soccer-playing robots. We are experimenting with diffusion-models to generate robot motions based on recent sensor measurements.
3+
> Toward Learning End-to-End Humanoid Robot Soccer from Gameplay Recordings
44
5-
> [!IMPORTANT]
6-
> This is still an ongioing research project.
5+
Find our (preprint) paper and more information about the project on our [website](https://bit-bots.github.io/SoccerDiffusion/).
76

8-
> [!NOTE]
9-
> This repository contains the source code for our [DDLitLab project](https://www.isa.uni-hamburg.de/ddlitlab.html) [Fußballspielende Roboter: Ende-zu-Ende-KI für Wahrnehmung und Steuerung im RoboCup](https://www.isa.uni-hamburg.de/ddlitlab/data-literacy-studierendenprojekte/vierte-foerderrunde/e2e-robot-soccer.html) for the fourth funding round.
7+
> [!IMPORTANT]
8+
> This is still an ongoing research project.
109
1110
## Getting Started
1211

@@ -19,13 +18,13 @@ End-to-end machine learning for soccer-playing robots. We are experimenting with
1918
1. Download this repo:
2019

2120
```shell
22-
git clone https://github.com/bit-bots/ddlitlab2024.git
21+
git clone https://github.com/bit-bots/SoccerDiffusion.git
2322
```
2423

2524
2. Go into the downloaded directory:
2625

2726
```shell
28-
cd ddlitlab2024
27+
cd soccer_diffusion
2928
```
3029

3130
3. Install dependencies using [poetry](https://python-poetry.org/docs/#installation):
@@ -55,3 +54,11 @@ Some tools contained in this repository require additional system-dependencies.
5554
```
5655

5756
Then build the Python package as described in [this document](https://docs.b-human.de/master/python-bindings/#local-build).
57+
58+
## Acknowledgements
59+
60+
We gratefully acknowledge funding and support from the project [*Digital and Data Literacy in Teaching Lab (DDLitLab)*](https://www.hcl.uni-hamburg.de/ddlitlab.html) at the University of Hamburg and the [*Stiftung Innovation in der Hochschullehre*](https://stiftung-hochschullehre.de/) foundation.
61+
We extend our special thanks to the members of the [*Hamburg Bit-Bots*](https://bit-bots.de/) RoboCup team for their continuous support and for providing data and computational resources.
62+
We also thank the RoboCup teams [*B-Human*](https://b-human.de/) and [*HULKs*](https://hulks.de/) for generously sharing their data for this research.
63+
Additionally, we are grateful to the [*Technical Aspects of Multimodal Systems (TAMS)*](https://tams.informatik.uni-hamburg.de/) research group at the University of Hamburg for providing computational resources.
64+
This research was partially funded by the Ministry of Science, Research and Equalities of Hamburg, as well as the German Research Foundation (DFG) and the National Science Foundation of China (NSFC) through the project [*Crossmodal Learning*](https://www.crossmodal-learning.org/home.html) (TRR-169).

poetry.lock

Lines changed: 0 additions & 3571 deletions
This file was deleted.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ requires = ["poetry-core"]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
name = "ddlitlab2024"
7-
version = "0.0.1"
6+
name = "soccer_diffusion"
7+
version = "1.0.0"
88
readme = "README.md"
9-
repository = "https://github.com/bit-bots/ddlitlab2024"
9+
repository = "https://github.com/bit-bots/SoccerDiffusion"
1010
authors = ["Florian Vahl", "Jan Gutsche", "Joern Griepenburg"]
1111
description = ""
1212

@@ -61,4 +61,4 @@ line-length = 120
6161
select = ["F", "E", "B", "W", "I", "N", "UP"]
6262

6363
[tool.poetry.scripts]
64-
cli = "ddlitlab2024.dataset.cli.run:main"
64+
cli = "soccer_diffusion.dataset.cli.run:main"

ddlitlab2024/__init__.py renamed to soccer_diffusion/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
from pathlib import Path
55
from uuid import UUID, uuid4
66

7-
_project_name: str = "ddlitlab2024"
7+
_project_name: str = "soccer_diffusion"
88
__version__: str = importlib.metadata.version(_project_name)
99

1010
# Craft LOGGING PATH
1111
# Get the log directory from the environment variable or use the default
1212
_logging_dir: str = os.path.abspath(
13-
os.environ.get("DDLITLAB_LOG_DIR", os.path.join(os.path.dirname(__file__), "..", "logs"))
13+
os.environ.get("SOCCER_DIFFUSION_LOG_DIR", os.path.join(os.path.dirname(__file__), "..", "logs"))
1414
)
1515

1616
# Verify that the log directory exists and create it if it doesn't
@@ -40,7 +40,9 @@
4040

4141
SESSION_ID: UUID = uuid4()
4242

43-
DB_PATH: Path = Path(os.environ.get("DDLITLAB_DB_PATH", Path.joinpath(Path(__file__).parent, "dataset", "db.sqlite3")))
43+
DB_PATH: Path = Path(
44+
os.environ.get("SOCCER_DIFFUSION_DB_PATH", Path.joinpath(Path(__file__).parent, "dataset", "db.sqlite3"))
45+
)
4446

4547
DEFAULT_RESAMPLE_RATE_HZ = 50
4648
IMAGE_MAX_RESAMPLE_RATE_HZ = 10

ddlitlab2024/dataset/__init__.py renamed to soccer_diffusion/dataset/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from rich.logging import RichHandler
55

6-
from ddlitlab2024 import LOGGING_PATH, SESSION_ID
6+
from soccer_diffusion import LOGGING_PATH, SESSION_ID
77

88
MODULE_NAME: str = "dataset"
99

0 commit comments

Comments
 (0)