Closed freeman-g closed 7 years ago
Looks like curl didn't actually download the file:
cat vgg16_weights.h5
<html><body>You are being <a href="https://github-cloud.s3.amazonaws.com/releases/52701428/ea1d5778-e9f7-11e5-9f12-bc9a16c75380.h5?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161216%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161216T003949Z&X-Amz-Expires=300&X-Amz-Signature=e182f57009e3034f888ba611a78ffcdb86ef379756839cb6b59089fd25769a90&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dvgg16_weights.h5&response-content-type=application%2Foctet-stream">redirected</a>.</body></html>
I am trying to run image-analogies on the Tensorflow docker image. This docker image already has tensor flow and python installed.
I ran
pip install neural-image-analogies
and thencurl https://github.com/awentzonline/image-analogies/releases/download/v0.0.5/vgg16_weights.h5 > vgg16_weights.h5
so I have the vgg16 weights file in my working directory.When I try to run the image-analogies script, I get an error that the weights file cannot be created because it already exists:
I tried also tried putting the weights in another directory and using the VGG_WEIGHT_PATH var, but got the same error. Any help would be appreciated.
Thanks