-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_history
300 lines (300 loc) · 14.2 KB
/
.bash_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
conda --version
source ~/.bashrc
conda list
conda create --cgusti CLIP python=3.8
conda create --name ClLIP_implementation python=3
which python
python --version
python3 CLIP.PY
python3 CLIP.PY
conda install --yes -c pytorch pytorch=1.7.1 torchvision cudatoolkit=11.0
import torch
import pytorch
nvcc --version
sudo apt install nvidia-driver-515 nvidia-dkms-515
pwd
bash
pip install ftfy regex tqdm
pip install git+https://github.com/openai/CLIP.git
pip install pyarrow
pip install tensorflow
conda activate
conda deactivate
python3 -m venv pleasework
source pleasework bin/activate
ls
source pleasework/bin/activate
pip install -r requirements.txt
brew
python3 --version
sudo apt update -y
python3
source /home/cgusti/venv/bin/activate
/home/cgusti/venv/bin/python /home/cgusti/Capstone/ArtisticFaces/realism/realism_training.py
deactivate
source pleasework/bin/activate
ls
cd Capstone/
ls
cd Art
cd ArtisticFaces/
ls
source pleasework/bin/activate
/home/cgusti/venv/bin/python /home/cgusti/Capstone/ArtisticFaces/realism/realism_training.py
pip install -r requirements.txt
ls
source venv/bin/activate
which python
python --version
python -m venv --upgrade /home/cgusti/venv
python --version
pip install python==3.10
ls
cd HPE
git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
git checkout v1.3.9
git checkout -b vitPose-Yoga
git status
MMCV_WITH_OPS=1 pip install -e .
pip install skbuild
pip3 install --upgrade pip before install opencv-python
pip install opencv
pip install opencv-python
pip install --upgrade pip
pip3 install opencv-python
MMCV_WITH_OPS=1 pip install -e .
cd ..
git clone https://github.com/ViTAE-Transformer/ViTPose.git
ls
cd ViTPose
pip install -v -e .
pip install timm==0.4.9 einops
python demo/top_down_img_demo.py configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hrnet_w48_coco_256x192.py https://download.openmmlab.com/mmpose/top_down/hrnet/hrnet_w48_coco_256x192-b9e0b3ab_20200708.pth --img-root tests/data/coco/ --json-file tests/data/coco/test_coco.json --out-img-root vis_results
python demo/top_down_img_demo.py configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hrnet_w48_coco_256x192.py https://download.openmmlab.com/mmpose/top_down/hrnet/hrnet_w48_coco_256x192-b9e0b3ab_20200708.pth --img-root tests/data/coco/ --json-file tests/data/coco/test_coco.json --out-img-root vis_results
ls
venv/bin/activate
ls
cd venv
lls
ls
bin/activate
cd bin
ls
source activate
cd ..
cd ..
source venv/bin/activate
python demo/interhand3d_img_demo.py configs/hand/3d_kpt_sview_rgb_img/internet/interhand3d/res50_interhand3d_all_256x256.py https://download.openmmlab.com/mmpose/hand3d/internet/res50_intehand3d_all_256x256-b9c1cf4c_20210506.pth --json-file tests/data/interhand2.6m/test_interhand2.6m_data.json --img-root tests/data/interhand2.6m --camera-param-file tests/data/interhand2.6m/test_interhand2.6m_camera.json --gt-joints-file tests/data/interhand2.6m/test_interhand2.6m_joint_3d.json --out-img-root vis_results --rebase-keypoint-height --show-ground-truth
python demo/body3d_two_stage_img_demo.py configs/body/3d_kpt_sview_rgb_img/pose_lift/h36m/simplebaseline3d_h36m.py https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth --json-file tests/data/h36m/h36m_coco.json --img-root tests/data/h36m --camera-param-file tests/data/h36m/cameras.pkl --only-second-stage --out-img-root vis_results --rebase-keypoint-height --show-ground-truth
python demo/body3d_two_stage_img_demo.py configs/body/3d_kpt_sview_rgb_img/pose_lift/h36m/simplebaseline3d_h36m.py https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth --json-file tests/data/h36m/h36m_coco.json --img-root tests/data/h36m --camera-param-file tests/data/h36m/cameras.pkl --only-second-stage --out-img-root vis_results --rebase-keypoint-height --show-ground-truth
python demo/resources/body3d_two_stage_video_demo.py demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py https://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_r50_fpn_1x_coco/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hrnet_w48_coco_256x192.py https://download.openmmlab.com/mmpose/top_down/hrnet/hrnet_w48_coco_256x192-b9e0b3ab_20200708.pth configs/body/3d_kpt_sview_rgb_vid/video_pose_lift/h36m/videopose3d_h36m_243frames_fullconv_supervised_cpn_ft.py https://download.openmmlab.com/mmpose/body3d/videopose/videopose_h36m_243frames_fullconv_supervised_cpn_ft-88f5abbb_20210527.pth --video-path demo/resources/<demo_body3d>.mp4 --out-video-root vis_results --rebase-keypoint-height
cd
ls
cd HPE
ls
cd VitPose
cd VitPose
ls
cd ViTPose
ls
python3 webcam_demo.py
python3 resources/webcam_demo.py
python3 /home/cgusti/HPE/ViTPose/demo/webcam_demo.py
pip install mmdet
python3 /home/cgusti/HPE/ViTPose/demo/webcam_demo.py
pip uninstall mmcv
pip install -U openmim
mim install mmcv-full
python3 /home/cgusti/HPE/ViTPose/demo/webcam_demo.py
mim install mmcv-full==1.7.0
python3 /home/cgusti/HPE/ViTPose/demo/webcam_demo.py
mim install mmcv-full==1.3.8
git clone https://github.com/open-mmlab/mmpose.git
cd mmpose
pip install -r requirements.txt
pip install mmpose
git clone https://github.com/open-mmlab/mmpose
cd mmpose
pip install -v -e .
pip install mmpose
python3 /home/cgusti/HPE/ViTPose/demo/webcam_demo.py
cd ..
cd ..
python demo/resources/body3d_two_stage_img_demo.py configs/body/3d_kpt_sview_rgb_img/pose_lift/h36m/simplebaseline3d_h36m.py https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth --json-file tests/data/h36m/h36m_coco.json --img-root tests/data/h36m --camera-param-file tests/data/h36m/cameras.pkl --only-second-stage --out-img-root vis_results --rebase-keypoint-height --show-ground-truth
python /home/cgusti/HPE/ViTPose/demo/body3d_two_stage_img_demo.py configs/body/3d_kpt_sview_rgb_img/pose_lift/h36m/simplebaseline3d_h36m.py https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth --json-file tests/data/h36m/h36m_coco.json --img-root tests/data/h36m --camera-param-file tests/data/h36m/cameras.pkl --only-second-stage --out-img-root vis_results --rebase-keypoint-height --show-ground-truth
python3 demo/testImports.p
python3 demo/testImports.py
python3 demo/testImports.py
python3 demo/testImports.py
python3 demo/testImports.py
python /home/cgusti/HPE/ViTPose/demo/body3d_two_stage_img_demo.py configs/body/3d_kpt_sview_rgb_img/pose_lift/h36m/simplebaseline3d_h36m.py https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth --json-file tests/data/h36m/h36m_coco.json --img-root tests/data/h36m --camera-param-file tests/data/h36m/cameras.pkl --only-second-stage --out-img-root vis_results --rebase-keypoint-height --show-ground-truth
python /home/cgusti/HPE/ViTPose/demo/body3d_two_stage_img_demo.py configs/body/3d_kpt_sview_rgb_img/pose_lift/h36m/simplebaseline3d_h36m.py https://download.openmmlab.com/mmpose/body3d/simple_baseline/simple3Dbaseline_h36m-f0ad73a4_20210419.pth --json-file tests/data/h36m/h36m_coco.json --img-root tests/data/h36m --camera-param-file tests/data/h36m/cameras.pkl --only-second-stage --out-img-root vis_results --rebase-keypoint-height --show-ground-truth
python3 demo/testImports.py
python3 demo/testImports.py
python3 /home/cgusti/ViTPose/demo/mesh_img_demo.py
ls
source venv/bin/activate
python3 /home/cgusti/ViTPose/demo/mesh_img_demo.py
python demo/top_down_img_demo.py configs/animal/2d_kpt_sview_rgb_img/topdown_heatmap/macaque/res50_macaque_256x192.py https://download.openmmlab.com/mmpose/animal/resnet/res50_macaque_256x192-98f1dd3a_20210407.pth --img-root tests/data/macaque/ --json-file tests/data/macaque/test_macaque.json --out-img-root vis_results
python /home/cgusti/ViTPose/demo/top_down_img_demo.py configs/animal/2d_kpt_sview_rgb_img/topdown_heatmap/macaque/res50_macaque_256x192.py https://download.openmmlab.com/mmpose/animal/resnet/res50_macaque_256x192-98f1dd3a_20210407.pth --img-root tests/data/macaque/ --json-file tests/data/macaque/test_macaque.json --out-img-root vis_results
sudo
sudo apt update
apt update
apt install -y cmake sudo libopencv-dev
sudo apt update
exit() exit()
tar xfz cmake-3.13.0-Linux-x86_64.tar.gz
ls
tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
python3 test.py
cd ..
python3 test.py
wget -q https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz
sudo tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
cgusti
ls
cd openPose
ls
wget -q https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz
sudo tar tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
sudo tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
ls
sudo tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
ls
tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
sudo tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
ls
git clone -q depth 1 https://github.com/CMU-Perceptual-Computing-Lab/openpose.git
git clone -q --depth 1 https://github.com/CMU-Perceptual-Computing-Lab/openpose.git
git clone -q --depth 1 https://github.com/CMU-Perceptual-Computing-Lab/openpose.git
wget -q https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz
tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
sudo tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
git clone -q --depth 1 https://github.com/CMU-Perceptual-Computing-Lab/openpose.git
sed -i 's/execute_process(COMMAND git checkout master WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}\/3rdparty\/caffe)/execute_process(COMMAND git checkout f019d0dfe86f49d1140961f8c7dec22130c83154 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}\/3rdparty\/caffe)/g' openpose/CMakeLists.txt
apt-get -qq install -y libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libgflags-dev libgoogle-glog-dev liblmdb-dev opencl-headers ocl-icd-opencl-dev libviennacl-dev
sudo apt-get -qq install -y libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libgflags-dev libgoogle-glog-dev liblmdb-dev opencl-headers ocl-icd-opencl-dev libviennacl-dev
pip install -q youtube-dl
cd openpose && rm -rf build || true && mkdir build && cd build && cmake .. && make -j`nproc`
clear
cd ..
cd ..
ls
cd ..
ls
cd home
ls
cd cgusti
ls
cd poseDetection
wget -q https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz
sudo tar xfz cmake-3.13.0-Linux-x86_64.tar.gz --strip-components=1 -C /usr/local
git clone -q --depth 1 https://github.com/CMU-Perceptual-Computing-Lab/openpose.git
sed -i 's/execute_process(COMMAND git checkout master WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}\/3rdparty\/caffe)/execute_process(COMMAND git checkout f019d0dfe86f49d1140961f8c7dec22130c83154 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}\/3rdparty\/caffe)/g' openpose/CMakeLists.txt
sudo apt-get -qq install -y libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler libgflags-dev libgoogle-glog-dev liblmdb-dev opencl-headers ocl-icd-opencl-dev libviennacl-dev
pip install -q yt-dlp
cd openpose && rm -rf build || true && mkdir build && cd build && cmake .. && make -j`nproc`
clear
cd ..
ls
cd ..
ls
cd ..
ls
ls
cd home
ls
ls
ls
cd ParlAI
ls
sudo python3.8 setup.py develop
exit
cd parl
ls
cd ParlAI/
sudo python3.8 setup.py develop
pip3 install setuptools_rust
sudo python3.8 setup.py develop
pip3 install setuptools)rust
pip3 install setuptools_rust
pip install setuptools_rust
sudo python3.8 setup.py develop
pip list
python3.8 -m ensurepip --default-pip
pip install ensurepip
pip -V
python 3.9 setup.py develop
ls
python3.9 setup.py develop
sudo python3.9 setup.py develop
sudo python3 setup.py develop
sudo python3.8 setup.py develop
sudo python setup.py develop
pip -V
sudo /home/cgusti/anaconda3/lib/python3.9 setup.py develop
sudo ./home/cgusti/anaconda3/lib/python3.9 setup.py develop
python -V
exit
python3.8 setup.py develop
sudo python3.8 setup.py develop
pip install -U pip setuptools
sudo python3.8 setup.py develop
pip install setuptools
python -m pip install setuptools_rust
python3 -m pip install setuptools_rust
py -m pip install setuptools_rust
pip install --upgrade pip
python3 decoder.py --model_checkpoint /home/ona/final-project-ock/runs/Apr17_23-25-27_lambda-quad_runs/Apr15_13-33-01_lambda-quad_openai-gpt
exit
conda --ev
conda -env
conda info --envs
conda create -n vitPose2 python=3.10
conda activate vitPose2
git clone https://github.com/jaehyunnn/ViTPose_pytorch.git
cd VitPose_pytorch
python inference.py --image-path './examples/img1.jpg'
python3 inference.py --image-path './examples/img1.jpg'
cd ViTPose
cd ..
cd ViTPose_pytorch/
python3 inference.py --image-path './examples/img1.jpg'
pip install torch
python3 inference.py --image-path './examples/img1.jpg'
pip install cv2
pip install -r requirements.txt
python3 inference.py --image-path './examples/img1.jpg'
python3 inference.py --image-path './examples/img1.jpg'
pip install -r requirements.txt
pip install -r requirements.txt
pip install torchvision
pip install torch
python3 inference.py --image-path './examples/img1.jpg'
pip install opencv_python
python3 inference.py --image-path './examples/img1.jpg'
pip install matplotlib
python3 inference.py --image-path './examples/img1.jpg'
pip install ffmpeg
python3 inference.py --image-path './examples/img1.jpg'
python3 inference.py --image-path './examples/img1.jpg'
python3 inference.py --image-path './examples/img1.jpg'
python3 inference.py --image-path '/home/cgusti/yoga_test_image.jpeg'
ls
mkdir convo-ai
rm convo-ai
rm -r convo-ai
conda create --n conva-ai
conda create --name convo-ai
ls
rm -r /home/cgusti/anaconda3/envs/convo-ai
conda create --name convo-ai python=3.8
which python
python --version
conda activate convo-ai
python --version
mkdir NLP
cd NLP
git clone https://github.com/huggingface/transfer-learning-conv-ai.git
git clone https://github.com/facebookresearch/ParlAI.git