GithubHelp home page GithubHelp logo

trendingtechnology / fcn-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yunlongdong/fcn-pytorch

0.0 2.0 0.0 63.65 MB

Another pytorch implementation of FCN (Fully Convolutional Networks)

Python 100.00%

fcn-pytorch's Introduction

FCN-pytorch-easiest

Trying to be the easiest FCN pytorch implementation and just in a get and use fashion

Here I use a handbag semantic segmentation for illustration on how to train FCN on your own dataset and just go to use. To train on your own dataset you just need to see in BagData.py which implements a dataloader in pytorch. What you actually need to do is providing the images file and the correspoding mask images. And for visualization in the training process I use visdom.

requirement

I have tested the code in pytorch 0.3.0.post4 in anaconda python 3.6 in ubuntu 14.04 with GTX1080 in cuda8.0

train

here three images pair is provided in folder last/ and last_msk/ . Here I want to do a handbag semantic segmentation which is stated as belows.

task

Firstly because visdom is used to visualize the training process, you need open another terminal and run

python -m visdom.server

Then you run in another terminal

python FCN.py

You can open your browser and goto localhost:8097 to see the visulization as following the first row is the prediction.

vis

deploy

and for deploy and inference I also provide a script inference.py. You should be careful about the model path. Bacause I did not provide the trained weights file. :-P

BTW, FCN.py is copy from other repo.

fcn-pytorch's People

Contributors

dyl745001196 avatar yunlongdong avatar

Watchers

 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.