Git Product home page Git Product logo

view-synthesis-for-vehicles's Introduction

Pose-based View Synthesis for Vehicles: a Perspective Aware Method

This repo is based on pose-gan [https://github.com/AliaksandrSiarohin/pose-gan], which is an excellent work for person pose transfer.

Requirment

  • python2.7
  • Numpy
  • Scipy
  • Skimage
  • Pandas
  • Tensorflow
  • Keras
  • keras-contrib
  • tqdm

Environments

  1. pip install -r requirements.txt
  2. install keras-contrib by running: pip install git+https://www.github.com/keras-team/keras-contrib.git

Training

In order to train a model:

  1. Download VeRi dataset https://github.com/VehicleReId/VeRidataset. Put it in data folder. Rename this folder to data/VeRi-dataset. Rename image_train and image_test with test and train.

  2. Download view-synthesis-for-vehicles.zip and unzip the contents to the main folder.

  3. Training the full system by running the train.sh: bash train.sh

Testing

bash test.sh

view-synthesis-for-vehicles's People

Contributors

ilvkai avatar

Stargazers

 avatar 毕 成 avatar  avatar Zhipeng Bao avatar  avatar Kuruparan Shanmugalingam avatar Jie An avatar Cheng Nan avatar Jiaqi Li avatar yue yao avatar  avatar

Watchers

James Cloos avatar  avatar

view-synthesis-for-vehicles's Issues

Error in Keypoint Extraction

Hello,

I am trying to compute coordinates for a different car dataset resized to 256 *256. However, my keypoints are always -1. Could you please suggest a reason for such output.

@ilvkai

Thanks

Predicting from generator throws error

When I do the generator.predict(batch) step the following error appears:

tensorflow.python.framework.errors_impl.InvalidArgumentError: input_1:0 is both fed and fetched

I am using Tensorflow 1.14 Keras 3.2.1

I would appreciate any advice with this issue.

Kind Regards.

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.