-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reproduce training and benchmark results via Docker (#3)
* Add initial dockerfile that's installing dependencies * Add update docker compose file with dependencies * Use fork of DCNv2 thats compatible with pytorch 1.x * Add dockerignore and update gitignore * Update networks for updated dcn_v2 * Fix build to generate proper DCN binary for gpu * Update README * Remove vendored DCNv2 * Reform install instructions * Add instructions for using the docker container * Remove vestigial tools from CenterNet repo Fairly certain that these files are not relevant to experiments for the grasping network. * Move readme to docs * Move files into better directory structure * Add setup and fix scripts * Fix more imports * Remove from __future__ imports * Run pre-commit on all the files * Remove extra imports * Replace progress with tqdm and simplify testing * Add json logger * Add script to evaluate all networks and update loggers * Replace progress with tqdm in train * Clean up dockerfile * Remove debug script and remove progress dependency * Add dataset documentation to repo * Document structure of models and datasets * Update INSTALL and DEVELOP docs * Move demo into docs directory * Update image name to gknet * Update pytorch version typo
- Loading branch information
1 parent
fc9553d
commit 66e2a13
Showing
194 changed files
with
9,350 additions
and
29,082 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/models/ | ||
/exp/ | ||
/datasets/ | ||
/data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,3 +115,9 @@ ENV/ | |
|
||
# cache file | ||
*~ | ||
|
||
# experiments | ||
/exp/ | ||
/datasets/ | ||
/models/ | ||
/data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
args: [--profile=black] | ||
- repo: https://github.com/psf/black | ||
rev: 23.1.0 | ||
hooks: | ||
- id: black | ||
- id: black-jupyter | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v3.0.0-alpha.6 | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- [email protected] | ||
- "@prettier/[email protected]" | ||
- id: prettier | ||
files: .(launch|test|world)$ | ||
additional_dependencies: | ||
- [email protected] | ||
- "@prettier/[email protected]" | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.4 | ||
hooks: | ||
- id: codespell | ||
args: [--ignore-words-list=thw] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Launch a ros master with the controller manager and associated services | ||
version: "3.8" | ||
|
||
services: | ||
# base container -- will simply exit once brought up | ||
# we can run commands via this container for running experiments, etc. | ||
base: &base | ||
build: | ||
context: . | ||
dockerfile: docker/Dockerfile.noetic | ||
image: ivalab/gknet:latest | ||
network_mode: host | ||
shm_size: 2gb | ||
volumes: | ||
- ./:/app/ | ||
- .cache/torch:/root/.cache/torch | ||
gpu: | ||
<<: *base | ||
deploy: | ||
resources: | ||
reservations: | ||
devices: | ||
- driver: nvidia | ||
count: 1 | ||
capabilities: [gpu] |
Oops, something went wrong.