AttnGAN icon indicating copy to clipboard operation
AttnGAN copied to clipboard

How to run evaluation code using pre-trained model locally?

Open nitish11 opened this issue 6 years ago • 4 comments

Hi,

I want to run evaluation code locally using pre-trained model on COCO-dataset. I don't want to create a docker container or any API based on call. I tried to run eval/eval.py by getting error related to azure setup. How to use existing code for "Generating images from the captions"?

nitish11 avatar Sep 12 '18 06:09 nitish11

Got same question. If I run with my personal Azure Blob container, then I got azure.common.AzureMissingResourceHttpError: The specified container does not exist. ErrorCode: ContainerNotFound If I run with "attngan" container name, then azure.common.AzureException: HTTPSConnectionPool(host='attngan.blob.core.windows.net', port=443): Max retries exceeded with url: /images/2019/January/15/19_49_30_261376/bird_g0.png?comp=block&blockid=TURBd01EQXdNREF3TURBd01EQXdNREF3TURBd01EQXdNREF3TURBd01EQSUzRA%3D%3D (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x1364e99e8>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known

I'm not familiar with Azure, but it seems, that container was removed or proper personal container must be deployed before starting Flask app.

skabbit avatar Jan 15 '19 16:01 skabbit

Removed all Azure Blob usage, replacing with saving to disk. All works well.

skabbit avatar Jan 15 '19 17:01 skabbit

Removed all Azure Blob usage, replacing with saving to disk. All works well.

can you put your repo link

lexical-kenobi avatar Jul 14 '20 10:07 lexical-kenobi

Sorry, has no repo for that. Just some brutal changes on the disk. I could check it, if you want, but it has been changed massively for my purposes and experiments.

skabbit avatar Jul 20 '20 09:07 skabbit