# 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](https://github.com/yunlongdong/FCN-pytorch-easiest/blob/master/images/task.png)
Firstly because ```visdom``` is used to visualize the training process, you need open another terminal and run
```sh
python -m visdom.server
```
Then you run in another terminal
```sh
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](https://github.com/yunlongdong/FCN-pytorch-easiest/blob/master/images/vis.png)
### 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.
没有合适的资源?快使用搜索试试~ 我知道了~
Python-FCN完全卷积网络中最简单最容易使用的pytorch实现
共1078个文件
jpg:1070个
py:4个
png:2个
4星 · 超过85%的资源 需积分: 48 89 下载量 69 浏览量
2019-08-11
05:56:27
上传
评论 7
收藏 63.85MB ZIP 举报
温馨提示
FCN(完全卷积网络)中最简单,最容易使用的pytorch实现
资源推荐
资源详情
资源评论
收起资源包目录
Python-FCN完全卷积网络中最简单最容易使用的pytorch实现 (1078个子文件)
53.jpg 1.03MB
352.jpg 923KB
107.jpg 480KB
77.jpg 442KB
20.jpg 437KB
453.jpg 401KB
342.jpg 388KB
481.jpg 385KB
158.jpg 365KB
59.jpg 352KB
60.jpg 347KB
96.jpg 341KB
422.jpg 324KB
456.jpg 323KB
17.jpg 319KB
283.jpg 318KB
11.jpg 309KB
324.jpg 294KB
110.jpg 291KB
156.jpg 290KB
101.jpg 285KB
390.jpg 279KB
375.jpg 279KB
316.jpg 272KB
116.jpg 270KB
288.jpg 259KB
309.jpg 254KB
345.jpg 247KB
127.jpg 240KB
284.jpg 235KB
275.jpg 226KB
352.jpg 223KB
245.jpg 210KB
15.jpg 207KB
143.jpg 207KB
92.jpg 207KB
387.jpg 205KB
477.jpg 205KB
53.jpg 202KB
225.jpg 197KB
296.jpg 196KB
154.jpg 196KB
189.jpg 191KB
445.jpg 190KB
72.jpg 190KB
474.jpg 187KB
5.jpg 186KB
398.jpg 184KB
168.jpg 180KB
157.jpg 178KB
145.jpg 178KB
49.jpg 176KB
409.jpg 176KB
26.jpg 176KB
335.jpg 176KB
62.jpg 173KB
297.jpg 173KB
438.jpg 173KB
94.jpg 171KB
242.jpg 170KB
454.jpg 168KB
386.jpg 168KB
214.jpg 167KB
286.jpg 166KB
498.jpg 165KB
348.jpg 162KB
370.jpg 160KB
27.jpg 159KB
89.jpg 157KB
142.jpg 153KB
377.jpg 152KB
30.jpg 152KB
318.jpg 152KB
19.jpg 151KB
258.jpg 151KB
276.jpg 150KB
317.jpg 149KB
195.jpg 149KB
360.jpg 148KB
272.jpg 148KB
218.jpg 147KB
332.jpg 147KB
535.jpg 145KB
482.jpg 145KB
310.jpg 144KB
473.jpg 143KB
410.jpg 143KB
484.jpg 143KB
182.jpg 143KB
507.jpg 141KB
149.jpg 141KB
523.jpg 141KB
388.jpg 141KB
167.jpg 140KB
334.jpg 139KB
389.jpg 139KB
476.jpg 139KB
115.jpg 139KB
164.jpg 138KB
160.jpg 137KB
共 1078 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
- 仗剑吃烤鱼2021-03-17没有train,只是inference
weixin_39840588
- 粉丝: 448
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功