Giter Site home page Giter Site logo

README

  1. Environment:->

$ git clone https://github.com/codeslake/PVDNet.git $ cd PVDNet

$ conda create -y --name PVDNet python=3.8 && conda activate PVDNet

for CUDA10.2

$ sh install_CUDA10.2.sh

for CUDA11.1

$ sh install_CUDA11.1.sh

  1. Datasets

Download and unzip Su et al.'s dataset and Nah et al.'s dataset under [DATASET_ROOT]:

├── [DATASET_ROOT] │ ├── train_DVD │ ├── test_DVD │ ├── train_nah │ ├── test_nah Note:

[DATASET_ROOT] is currently set to ./datasets/video_deblur. It can be specified by modifying config.data_offset in ./configs/config.py.

  1. Copy the project code

copies the model files and the config files \ a) copy deblur.py to model/archs/deblur.py \ b) copy pixel_volume.py to model/archs/pixel_volume.py \ c) copy PVDNet.py to model/archs/PVDNet.py (our Video modeling framework) \ d) copy config_PVDNet.py to config/config_PVDNet.py e) project model is PVDNet_DVD_00231.pytorch is more than 25MB so not allowed to be copied.

  1. To run training:

CUDA_VISIBLE_DEVICES=0,1 python -B -m torch.distributed.launch --nproc_per_node=2 --master_port=9000 run.py --is_train --mode PVDNet_DVD --config config_PVDNet --trainer trainer --data DVD -LRS CA -b 2 -th 4 -dl -ss -dist

  1. To test

CUDA_VISIBLE_DEVICES=0 python run.py --mode PVDNet_DVD --config config_PVDNet --data DVD --ckpt_abs_name /tmp/PVDNet_DVD_00231.pytorch

  1. project model copied in the project_model folder, say, /tmpPVDNet_DVD_00231.pytorch

  2. The model output in the /tmp/logs folder.

suvasis's Projects

cs224wproject icon cs224wproject

cs224w final project - Application of node2vec - predict optimized treatment for depression

cs229 icon cs229

CS229 Final Project presentation

cs231a icon cs231a

cs231a - Video Deblurring with optical flow Estimation Winter 2022

draw icon draw

A Recurrent Neural Network For Image Generation on the MNIST generation task

ercaguy_dotfiles icon ercaguy_dotfiles

.bashrc file, terminal prompt that shows current git branch, Arduino setup, Eclipse setup, git diff with line numbers, helpful scripts, improved Linux productivity, etc.

infinispan icon infinispan

Infinispan is an open source data grid platform and highly scalable NoSQL cloud data store.

mlir icon mlir

"Multi-Level Intermediate Representation" Compiler Infrastructure

suvasis icon suvasis

Config files for my GitHub profile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.