Remove diffusion-policy dependency
This commit is contained in:
parent
6c867d78ef
commit
7982425670
|
@ -69,10 +69,7 @@ jobs:
|
||||||
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
|
key: venv-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.restore-dependencies-cache.outputs.cache-hit != 'true'
|
if: steps.restore-dependencies-cache.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: poetry install --no-interaction --no-root
|
||||||
poetry install --no-interaction --no-root
|
|
||||||
git clone https://github.com/real-stanford/diffusion_policy
|
|
||||||
cp -r diffusion_policy/diffusion_policy $(poetry env info -p)/lib/python3.10/site-packages/
|
|
||||||
- name: Save cached venv
|
- name: Save cached venv
|
||||||
if: |
|
if: |
|
||||||
steps.restore-dependencies-cache.outputs.cache-hit != 'true' &&
|
steps.restore-dependencies-cache.outputs.cache-hit != 'true' &&
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# Custom
|
|
||||||
diffusion_policy
|
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
logs
|
logs
|
||||||
tmp
|
tmp
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
exclude: ^(data/|tests/|diffusion_policy/)
|
exclude: ^(data/|tests/)
|
||||||
default_language_version:
|
default_language_version:
|
||||||
python: python3.10
|
python: python3.10
|
||||||
repos:
|
repos:
|
||||||
|
|
|
@ -24,12 +24,6 @@ mkdir ~/tmp
|
||||||
export TMPDIR='~/tmp'
|
export TMPDIR='~/tmp'
|
||||||
```
|
```
|
||||||
|
|
||||||
Install `diffusion_policy` #HACK
|
|
||||||
```
|
|
||||||
# from this directory
|
|
||||||
git clone https://github.com/real-stanford/diffusion_policy
|
|
||||||
cp -r diffusion_policy/diffusion_policy $(poetry env info -p)/lib/python3.10/site-packages/
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
@ -477,21 +477,6 @@ test = ["GitPython (<3.1.19)", "Jinja2", "compel (==0.1.8)", "datasets", "invisi
|
||||||
torch = ["accelerate (>=0.11.0)", "torch (>=1.4,<2.2.0)"]
|
torch = ["accelerate (>=0.11.0)", "torch (>=1.4,<2.2.0)"]
|
||||||
training = ["Jinja2", "accelerate (>=0.11.0)", "datasets", "peft (>=0.6.0)", "protobuf (>=3.20.3,<4)", "tensorboard"]
|
training = ["Jinja2", "accelerate (>=0.11.0)", "datasets", "peft (>=0.6.0)", "protobuf (>=3.20.3,<4)", "tensorboard"]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "diffusion_policy"
|
|
||||||
version = "0.0.0"
|
|
||||||
description = ""
|
|
||||||
optional = false
|
|
||||||
python-versions = "*"
|
|
||||||
files = []
|
|
||||||
develop = false
|
|
||||||
|
|
||||||
[package.source]
|
|
||||||
type = "git"
|
|
||||||
url = "https://github.com/real-stanford/diffusion_policy"
|
|
||||||
reference = "HEAD"
|
|
||||||
resolved_reference = "548a52bbb105518058e27bf34dcf90bf6f73681a"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "distlib"
|
name = "distlib"
|
||||||
version = "0.3.8"
|
version = "0.3.8"
|
||||||
|
@ -3140,4 +3125,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.10"
|
python-versions = "^3.10"
|
||||||
content-hash = "9c3e86956dd11bc8d7823e5e6c5e74a073051b495f71f96179113d99791f7ca0"
|
content-hash = "c4d83579aed1c8c2e54cad7c8ec81b95a09ab8faff74fc9a4cb20bd00e4ddec6"
|
||||||
|
|
|
@ -45,7 +45,6 @@ mujoco = "^3.1.2"
|
||||||
mujoco-py = "^2.1.2.14"
|
mujoco-py = "^2.1.2.14"
|
||||||
gym = "^0.26.2"
|
gym = "^0.26.2"
|
||||||
opencv-python = "^4.9.0.80"
|
opencv-python = "^4.9.0.80"
|
||||||
diffusion-policy = {git = "https://github.com/real-stanford/diffusion_policy"}
|
|
||||||
diffusers = "^0.26.3"
|
diffusers = "^0.26.3"
|
||||||
torchvision = "^0.17.1"
|
torchvision = "^0.17.1"
|
||||||
h5py = "^3.10.0"
|
h5py = "^3.10.0"
|
||||||
|
|
Loading…
Reference in New Issue