Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최강혁
/
dddd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
yunjey
2017-01-22 05:46:35 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
70391946df98534971ef568f5054c176d0d16bee
70391946
1 parent
053467a8
train and eval the model
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
solver.py
solver.py
View file @
7039194
...
...
@@ -12,6 +12,7 @@ class Solver(object):
def
__init__
(
self
,
model
,
batch_size
=
100
,
pretrain_iter
=
10000
,
train_iter
=
2000
,
sample_iter
=
100
,
svhn_dir
=
'svhn'
,
mnist_dir
=
'mnist'
,
log_dir
=
'logs'
,
sample_save_path
=
'sample'
,
model_save_path
=
'model'
,
pretrained_model
=
'model/svhn_model-10000'
,
test_model
=
'model/dtn-2000'
):
self
.
model
=
model
self
.
batch_size
=
batch_size
self
.
pretrain_iter
=
pretrain_iter
...
...
Please
register
or
login
to post a comment