Code Monkey home page Code Monkey logo

3d-human-body-reconstruction's Introduction

Project 3 - Dicemen

NOTE: Only model files are available because of copyright on original codebase.

Installation

  1. Create the environment
    conda env create -f environment.yml
  2. Activate the environment
    conda activate mp_project3
  3. Run the following commands to install the remaining dependencies about pytorch-geometric in to the activated environment
    pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cu101.html
    pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.7.0+cu101.html
    pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-1.7.0+cu101.html
    pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.7.0+cu101.html
    pip install torch-geometric
    Note: If pip commands give error, it is necessary to follow these steps below:
    wget https://pytorch-geometric.com/whl/torch-1.7.0+cu101/torch_cluster-1.5.9-cp38-cp38-linux_x86_64.whl
    wget https://pytorch-geometric.com/whl/torch-1.7.0+cu101/torch_scatter-2.0.6-cp38-cp38-linux_x86_64.whl
    wget https://pytorch-geometric.com/whl/torch-1.7.0+cu101/torch_sparse-0.6.9-cp38-cp38-linux_x86_64.whl
    wget https://pytorch-geometric.com/whl/torch-1.7.0+cu101/torch_spline_conv-1.2.1-cp38-cp38-linux_x86_64.whl
    pip install torch-geometric
    pip install wheel
    pip install torch_cluster-1.5.9-cp38-cp38-linux_x86_64.whl
    pip install torch_scatter-2.0.6-cp38-cp38-linux_x86_64.whl
    pip install torch_sparse-0.6.9-cp38-cp38-linux_x86_64.whl
    pip install torch_spline_conv-1.2.1-cp38-cp38-linux_x86_64.whl
  4. Submit the training task to GPU with the following command (indicated time necessary to reproduce results)
    cd codebase/
    bsub -n 4 -W 24:00 -o sample_test -R "rusage[mem=4096, ngpus_excl_p=1]" -R "select[gpu_mtotal0>=10240]" python train.py ../configs/convgatadv.yaml
  5. Submit the prediction task to GPU with the following command
    bsub -n 4 -W 2:00 -o sample_test -R "rusage[mem=4096, ngpus_excl_p=1]" -R "select[gpu_mtotal0>=10240]" python test.py ../configs/convgatadv.yaml --gen_model_file gen_model_200000.pt --disc_model_file disc_model_200000.pt

Results will be saved under a directory with the same name as the model (NOT in the top directory as the vanilla code did).

3d-human-body-reconstruction's People

Contributors

gozsoy avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.