Giter VIP home page Giter VIP logo

clothshape's Introduction

ClothShape

0. System

Upgrade system:

sudo apt-get update
sudo apt-get upgrade

1. Nvidia Driver

sudo apt install nvidia-415*
sudo reboot

2. MiniConda

  1. Download miniconda from the oficial website. (Recommended: Python 3.* , 64-bits)
  2. Install miniconda. (Recommended: use predefined paths and answer yes whenever you are asked yes/no)
    bash ~/Downloads/Miniconda3-latest-Linux-x86_64.sh
    

3. Dependencies

  1. Create and activate conda environment for the project
    conda create -n ClothShape
    source activate ClothShape
    
  2. Install Pytorch
    conda install pytorch torchvision cudatoolkit=10.0 -c pytorch
    
  3. Install other rand dependencies
    conda install matplotlib opencv pillow scikit-learn scikit-image cython tqdm
    pip install tensorboardX
    
  4. Deactivate environment
    conda deactivate
    

4. Tensorboard

  1. Create and activate conda environment for tensorboard:
    conda create -n tensorboard python=3.6
    source activate tensorboard
    
  2. Install Tensorflow CPU
    pip install tensorflow
    
  3. Deactivate environment
    conda deactivate
    

Run train

  1. Run
    python src/train.py --exp_dir experiments/model1/basic_settings
    
  2. To visualize. In a new terminal run:
    source activate tensorboard
    tensorboard --logdir path/to/repo/experiments/model1/basic_settings/
    

Run test

  1. Run
    python src/test.py --exp_dir experiments/model1/basic_settings
    
    results will be store in experiments/model1/basic_settings/test

clothshape's People

Contributors

albertpumarola avatar

Watchers

James Cloos avatar  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.