forked from Teaonly/easyStyle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmrf.style
More file actions
35 lines (31 loc) · 732 Bytes
/
mrf.style
File metadata and controls
35 lines (31 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
local net = {
image_list = {'./images/ford.png', './images/lohan.png', './output.png'},
input = 1,
output = 3,
convergence = true,
maxIterate = 1000,
cnn = {
proto = './cnn/vgg19/VGG_ILSVRC_19_layers_deploy.prototxt',
caffemodel = './cnn/vgg19/VGG_ILSVRC_19_layers.caffemodel'
},
net = {
{
layer = 'input',
type = 'tvloss',
weight = 0.001,
},
{
layer = 'relu4_1',
type = 'mrf',
weight = 10.0,
target = 2,
},
{
layer = 'relu4_2',
type = 'content',
weight = 1.0,
target = 1,
}
}
}
return net