forked from BVLC/caffe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request BVLC#132 from yjxiong/mem
Update Dec 2016
- Loading branch information
Showing
42 changed files
with
26,823 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
examples/semantic_segmentation/dataset_file_examples/SavePngLabel.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
clear all; close all; | ||
|
||
source_folder = '../../../data/VOC_arg/SegmentationClass'; | ||
target_folder = '../../../data/VOC_arg/SegmentationClass_label'; | ||
|
||
imgs_dir = dir(fullfile(source_folder, '*.png')); | ||
|
||
if ~exist(target_folder, 'dir') | ||
mkdir(target_folder) | ||
end | ||
|
||
for i = 1 : length(imgs_dir) | ||
fprintf('processing %d/%d\n', i, length(imgs_dir)); | ||
img = imread(fullfile(source_folder, imgs_dir(i).name)); | ||
imwrite(img, fullfile(target_folder, imgs_dir(i).name)); | ||
end |
10,582 changes: 10,582 additions & 0 deletions
10,582
examples/semantic_segmentation/dataset_file_examples/train.txt
Large diffs are not rendered by default.
Oops, something went wrong.
12,031 changes: 12,031 additions & 0 deletions
12,031
examples/semantic_segmentation/dataset_file_examples/train_val.txt
Large diffs are not rendered by default.
Oops, something went wrong.
1,449 changes: 1,449 additions & 0 deletions
1,449
examples/semantic_segmentation/dataset_file_examples/val.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env sh | ||
|
||
GOOGLE_LOG_DIR=models/semantic_segmentation/log \ | ||
mpirun -np 8 \ | ||
cmake_build/install/bin/caffe train \ | ||
--solver=models/semantic_segmentation/fcn_vgg_16_solver.prototxt \ | ||
--weights=VGG_ILSVRC_16_layers_conv.caffemodel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.