Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenyangQiQi committed Apr 23, 2023
1 parent 1665ce4 commit 8581c03
Showing 1 changed file with 31 additions and 18 deletions.
49 changes: 31 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Fast Video Processing on CRVD dataset
# BSVD for Fast Video Processing on CRVD dataset

Note that the code in this branch is quite dirty. And this is only for those who just want to reproduce the performance reported in BSVD paper.

Currently, I have moved to research on video diffusion model, which is the state-of-the-art in image and video generation.

If you are looking for the best model for video denoising, it is strongly recommended to train a video denoising model, which naturally support video denoising.

Another cheap and fast option is using a pretrained diffusion model for zero-shot video enhancement like that in [FateZero](https://github.com/ChenyangQiQi/FateZero).
We have present a initl experiment of zero-sho video restoration at 3:00 minute of thie [video](https://github.com/ChenyangQiQi/FateZero#-demo-video).
# Dependencies

## Environment
Expand All @@ -10,16 +18,13 @@ conda env create -f environment.yaml -n py37torch170
# for 3090GPU
# conda env create -f environment_3090.yaml -n py37torch170
# pip install -r requirements.txt

```
<!-- Note: this project needs the [NVIDIA DALI](https://github.com/NVIDIA/DALI) package for training. The tested version of DALI is 0.10.0. If you prefer to install it yourself (supposing you have CUDA 10.0), you need to run
To install pytorch for cuda11
```bash
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/cuda/10.0 nvidia-dali==0.10.0
pip install --extra-index-url https://developer.download.nvidia.com/compute/redist --upgrade nvidia-dali-cuda110
``` -->
i
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
```

## other utils

```bash
Expand All @@ -36,24 +41,21 @@ pip install tensorboardX
Keep the folder structure as (to polish structure)
```
--EfficientVideoDenoising
|--dataset
|--CRVD
|--SRVD_data
|--configs
|--data
|--model
|--train_crvd_ddp.py
|--logs
|--1106_1008_crvd_tswnet16_batch16_lr_1e-4_seq7_nonorm_10_300
|--ckpt_epochs
|--1113_wnet_memconv_none_as_end
|--results
|--dataset
|--CRVD
|--SRVD_data
```
# Train
```bash
# train tswnet_16
./configs/train_crvd_tswnet/0830_train_crvd_ptswnet_l1_seq7.sh
# train tswnet_24
./configs/train_crvd_tswnet/0907_train_crvd_ptswnet_l1_lr_same_inference_time_1e-5.sh
```


# Validation

Expand All @@ -64,3 +66,14 @@ bash ./configs/memory_conv/1113_wnet_memconv_none_as_end.sh
# validate tswnet_24

```

Check the result at 'logs/1113_wnet_memconv_none_as_end'
# Train (in progress)
<!-- ```bash
# train tswnet_16
./configs/train_crvd_tswnet/0830_train_crvd_ptswnet_l1_seq7.sh
# train tswnet_24
./configs/train_crvd_tswnet/0907_train_crvd_ptswnet_l1_lr_same_inference_time_1e-5.sh
``` -->


0 comments on commit 8581c03

Please sign in to comment.