imatge-upc / salgan

SalGAN: Visual Saliency Prediction with Generative Adversarial Networks
https://imatge-upc.github.io/salgan
MIT License
367 stars 106 forks source link

unable to download "gen_modelWeights0090.npz" #36

Open joker-returns opened 6 years ago

joker-returns commented 6 years ago

I am trying to run the test script. I made necessary changes in "scripts/constants.py" and ran the scripts. But i am getting an IO error which shows this:

......
......
uconv1_2: (64, 192, 256)
uconv1_1: (64, 192, 256)
output: (1, 192, 256)
Traceback (most recent call last):
  File "03-predict.py", line 30, in <module>
    main()
  File "03-predict.py", line 25, in main
    load_weights(model.net['output'], path='gen_', epochtoload=90)
  File "<DIR_PATH>scripts/utils.py", line 22, in load_weights
    with np.load(HOME_DIR + path + "modelWeights{:04d}.npz".format(epochtoload)) as f:
  File "/home/han/.local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 362, in load
    fid = open(file, "rb")
IOError: [Errno 2] No such file or directory: '<DIR_PATH>gen_modelWeights0090.npz'

I tried to download the file "gen_modelWeights0090.npz" but I am getting a standard Apache forbidden error. Can you update the link to download those files?