Skip to content
Snippets Groups Projects
Commit 734886d3 authored by mhby1g21's avatar mhby1g21
Browse files

Merge branch 'fixing-pipeline' into 'master'

Fixing pipeline (dockerfile and gitignore)

See merge request !1
parents 102d157b 8d9807fe
Branches
No related tags found
1 merge request!1Fixing pipeline (dockerfile and gitignore)
scripts/360monodepthexecution/rgb.jpg scripts/360monodepthexecution/rgb.jpg
\ No newline at end of file scripts/shifted_t.png
\ No newline at end of file
Subproject commit ae9bee5325ffcdce9d9b8659017177c35d561564 Subproject commit 29e4bf230b0a2994d44c0673f497743e1a60df3c
...@@ -47,12 +47,15 @@ git submodule update --init --recursive ...@@ -47,12 +47,15 @@ git submodule update --init --recursive
3. Set up environments: 3. Set up environments:
a. For material recognition/DBAT (uses conda): a. For material recognition/DBAT (uses conda):
Get into Dynamic-Backward-Attention-Transformer directory,
```cmd ```cmd
cd Dynamic-Backward-Attention_Transformer cd Dynamic-Backward-Atention-Transformer
conda env create -f environment.yml conda env create -f environment.yml
``` ```
While inside DBAT folder,
Download pre-trained [checkpoints](https://drive.google.com/file/d/1ov6ol7A4NU8chlT3oEwx-V51gbOU7GGD/view?usp=sharing) and also [swin_tiny_patch4_window7_224.pth](https://storage.openvinotoolkit.org/repositories/open_model_zoo/public/2022.1/swin-tiny-patch4-window7-224/?sort_by=NEW2OLD) into folder checkpoints Download pre-trained [checkpoints](https://drive.google.com/file/d/1ov6ol7A4NU8chlT3oEwx-V51gbOU7GGD/view?usp=sharing) and also [swin_tiny_patch4_window7_224.pth](https://storage.openvinotoolkit.org/repositories/open_model_zoo/public/2022.1/swin-tiny-patch4-window7-224/?sort_by=NEW2OLD) into folder checkpoints
Put epoch=126-valid_acc_epoch=0.87.ckpt checkpoint to Dynamic-Backward-Atention-Transformer\checkpoints\dpglt_mode95\accuracy and swin-tiny-patch4-window7-224.pth to Dynamic-Backward-Attention-Transformer\checkpoints\swin_pretrain
```cmd ```cmd
mkdir checkpoints\dpglt_mode95\accuracy checkpoints\swin_pretrain mkdir checkpoints\dpglt_mode95\accuracy checkpoints\swin_pretrain
``` ```
...@@ -68,6 +71,7 @@ c. For edgenet360 (uses WSL): ...@@ -68,6 +71,7 @@ c. For edgenet360 (uses WSL):
- Make sure wsl thats called in cmd is the one with anaconda installed - Make sure wsl thats called in cmd is the one with anaconda installed
- Then create the tf2 environment: - Then create the tf2 environment:
- MAKE SURE THE COMMAND BELOW ARE RUN IN WSL, from wsl, go up directory then go to /mnt/ to wherever the repo was in to access .yml - MAKE SURE THE COMMAND BELOW ARE RUN IN WSL, from wsl, go up directory then go to /mnt/ to wherever the repo was in to access .yml
```cmd ```cmd
cd edgenet360 cd edgenet360
conda env create -f tf2_new_env.yml conda env create -f tf2_new_env.yml
...@@ -80,7 +84,6 @@ d. For 360monodepth (uses Docker): ...@@ -80,7 +84,6 @@ d. For 360monodepth (uses Docker):
```cmd ```cmd
cd 360monodepth cd 360monodepth
docker build -t 360monodepth . docker build -t 360monodepth .
docker run -it --runtime=nvidia -e NVIDIA_VISIBLE_DEVICES=0 360monodepth sh -c "cd /monodepth/code/python/src; python3 main.py --expname test_experiment --blending_method all --grid_size 8x7"
``` ```
4. Configure paths: 4. Configure paths:
......
scripts/shifted_t.png

4.61 MiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment