Skip to content

Commit

Permalink
Remove useless code segment
Browse files Browse the repository at this point in the history
  • Loading branch information
JiahuiYu authored Mar 4, 2018
1 parent 8747474 commit ea69c5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def multigpu_graph_def(model, data, config, gpu_id=0, loss_type='g'):
static_fnames = val_fnames[i:i+1]
static_images = ng.data.DataFromFNames(
static_fnames, config.IMG_SHAPES, nthreads=1,
random_crop=config.RANDOM_CROP,
fn_preprocess=edge_fn,
).data_pipeline(1)
random_crop=config.RANDOM_CROP).data_pipeline(1)
static_inpainted_images = model.build_static_infer_graph(
static_images, config, name='static_view/%d' % i)
# training settings
Expand Down

0 comments on commit ea69c5b

Please sign in to comment.