Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No scaling in Tensorflow #46

Open
vibber opened this issue Aug 25, 2017 · 0 comments
Open

No scaling in Tensorflow #46

vibber opened this issue Aug 25, 2017 · 0 comments

Comments

@vibber
Copy link

vibber commented Aug 25, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant