Skip to content

No scaling in Tensorflow #46

Open
Open
@vibber

Description

@vibber

My script fails if I run in Tensorflow mode (on the cpu) and define the --a-scale=2 parameter. Without this parameter I can run. also --a-scale=1 seems to work

My script looks like this:
KERAS_BACKEND='tensorflow' THEANO_FLAGS='device=cpu' make_image_analogy.py \
    images/$PREFIX-A.jpg images/$PREFIX-Ap.jpg \
    images/$PREFIX-B.jpg out/$PREFIX-h-$HEIGHT-scale-$SCALE/$PREFIX-mrf-$MRF_VAL-ana$
    --mrf-w=$MRF_VAL --patch-size=3 --height=$HEIGHT \
    --analogy-w=$ANALOGY_VAL  --a-scale=$4\
    --vgg-weights=$VGG_WEIGHTS --output-full

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions