GithubHelp home page GithubHelp logo

shun60s / pytorch-prednet-practice Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 29.95 MB

A prednet practice using leido/pytorch-prednet modified code and preprocessed KITTI data.

License: Other

Python 93.30% Jupyter Notebook 6.70%
prednet pytorch

pytorch-prednet-practice's Introduction

pytorch prednet practice

This is a prednet practice using leido/pytorch-prednet modified code and preprocessed KITTI data.

Major change from leido/pytorch-prednet

  • image format, from integer 0-255 to float 0-1.0
  • train data, sequence_start_mode from unique to all
  • ConvLSTMCell, sigmoid to hard_sigmoid
  • train learning rate, 0.001/0.0001 switch to use lr_scheduler
  • test data, last one to sequence, and to add extrapolated
  • to add log output
  • to add cpu for function check. Actual train needs GPU.
  • to add option load-last and last-epoch to resume train.
  • to add preprocess_data.py that make a dataset from mp4 files

data train loss

A loss curve is shown. This result does not reach to 0.0178 (training) 0.0236(validation), which other reports value using original prednet code.

figure1

prednet_kitti_data_colab_practice1.ipynb is a sample notebook of train and test using google colaboratory.

data test result

Upper side is actual and lower side is predicted.

figure2

Lower side last 3 images are extrapolated.
figure3

License

Regarding to original prednet code license, please see License_prednet.txt.
Regarding to kitti dataset license, please refer to Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Regarding to hickle.py, please see LICENSE_hickle.
Regarding to hard_sigmoid , please see LICENSE_torchMoji.
There is no license description of leido/pytorch-prednet and Kaixhin/lstms.py.
Some code has benn changed and follow following,

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

pytorch-prednet-practice's People

Contributors

shun60s avatar

Stargazers

 avatar  avatar

Watchers

 avatar

pytorch-prednet-practice's Issues

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.