Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Obarads committed Jul 31, 2023
1 parent 3b9b735 commit a1521df
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 15 deletions.
12 changes: 6 additions & 6 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.385aad3c.css",
"main.js": "/static/js/main.3e397697.js",
"main.css": "/static/css/main.5a35e2ad.css",
"main.js": "/static/js/main.e0aaa18c.js",
"static/media/KaTeX_AMS-Regular.ttf": "/static/media/KaTeX_AMS-Regular.853be92419a6c3766b9a.ttf",
"static/media/KaTeX_Main-Regular.ttf": "/static/media/KaTeX_Main-Regular.9eba1d77abcf2aa6e94e.ttf",
"static/media/KaTeX_Main-Bold.ttf": "/static/media/KaTeX_Main-Bold.8169508bf58f8bd92ad8.ttf",
Expand Down Expand Up @@ -65,11 +65,11 @@
"index.html": "/index.html",
"static/media/check-14px.svg": "/static/media/check-14px.91cda0ff150f8d910f19.svg",
"static/media/check-24px.svg": "/static/media/check-24px.44535fb34eaf28577373.svg",
"main.385aad3c.css.map": "/static/css/main.385aad3c.css.map",
"main.3e397697.js.map": "/static/js/main.3e397697.js.map"
"main.5a35e2ad.css.map": "/static/css/main.5a35e2ad.css.map",
"main.e0aaa18c.js.map": "/static/js/main.e0aaa18c.js.map"
},
"entrypoints": [
"static/css/main.385aad3c.css",
"static/js/main.3e397697.js"
"static/css/main.5a35e2ad.css",
"static/js/main.e0aaa18c.js"
]
}
58 changes: 58 additions & 0 deletions data/MMPose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# MMPose

Update: 2023/07/31

## Info
- Document: [readthedocs.io](https://mmpose.readthedocs.io/en/latest/overview.html)
- Release: 2020
- Implementation: [open-mmlab/mmpose](https://github.com/open-mmlab/mmpose)
- framework: Pytorch
- License: Apache License 2.0
- Keywords: CV, RGB Image, Pose Estimation

## How to build with docker and run the model in a docker container
This documentation describes the Pytorch version. The docker environment is as follows:
- CPU: Intel® Core™ i9-9900K CPU @ 3.60GHz × 16
- GPU: NVIDIA GeForce RTX 2080 Ti
- Memory: 64 GiB
- Capacity: 1 TB

### 1. Create a docker container
```bash
# Set this repository absolute path (ex: /home/user/obarads.github.io)
git clone https://github.com/Obarads/obarads.github.io.git
cd obarads.github.io
OGI_DIR_PATH=$PWD

# Get a base image
BASE_IMAGE=nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
docker pull $BASE_IMAGE

# Clone the repository
git clone https://github.com/open-mmlab/mmpose.git
# Move to text2room
cd mmpose
# Switch to 2023/07/04 ver.
git switch -d 537bd8e543ab463fb55120d5caaa1ae22d6aaf06
# Copy a folder for building env.
cp -r $OGI_DIR_PATH/environments/mmpose/ ./dev_env

# Create docker image and container
docker build . -t mmpose -f ./dev_env/Dockerfile --build-arg UID=$(id -u) --build-arg GID=$(id -g) --build-arg BASE_IMAGE=$BASE_IMAGE
docker run -dit --name mmpose --gpus all -v $PWD:/workspace mmpose
```

### 2. Setup in the docker container
In a docker container:
```bash
cd /workspace

# setup python and packages
conda create -n mmpose python=3.10
conda activate mmpose
cd dev_env
pip install -r requirements.txt
```

### 3. Run the model
Please open `/workspace/demo/MMPose_Tutorial.ipynb`, in the container and run the cells in `MMPose_Tutorial.ipynb`.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Update: 2023/07/26
- framework: Pytorch
- Official code: Yes
- License: MIT license
- Keywords: CV, Point Cloud, Scene Generation
- Keywords: CV, Mesh, RGB Image, Intensity Image, Scene Generation

## How to build with docker and run the model in a docker container
The docker environment is as follows:
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/nanyouhagi_base_a.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script type="text/javascript">!function(i){if(i.search){var a={};i.search.slice(1).split("&").forEach((function(i){var l=i.split("=");a[l[0]]=l.slice(1).join("=").replace(/~and~/g,"&")})),void 0!==a.p&&window.history.replaceState(null,null,i.pathname.slice(0,-1)+(a.p||"")+(a.q?"?"+a.q:"")+i.hash)}}(window.location)</script><title>Note board</title><script defer="defer" src="/static/js/main.3e397697.js"></script><link href="/static/css/main.385aad3c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/nanyouhagi_base_a.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script type="text/javascript">!function(i){if(i.search){var a={};i.search.slice(1).split("&").forEach((function(i){var l=i.split("=");a[l[0]]=l.slice(1).join("=").replace(/~and~/g,"&")})),void 0!==a.p&&window.history.replaceState(null,null,i.pathname.slice(0,-1)+(a.p||"")+(a.q?"?"+a.q:"")+i.hash)}}(window.location)</script><title>Note board</title><script defer="defer" src="/static/js/main.e0aaa18c.js"></script><link href="/static/css/main.5a35e2ad.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
4 changes: 2 additions & 2 deletions static/css/main.385aad3c.css → static/css/main.5a35e2ad.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions static/js/main.3e397697.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/main.3e397697.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions static/js/main.e0aaa18c.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions static/js/main.e0aaa18c.js.map

Large diffs are not rendered by default.

0 comments on commit a1521df

Please sign in to comment.