titu1994 / Neural-Style-Transfer

Keras Implementation of Neural Style Transfer from the paper "A Neural Algorithm of Artistic Style" (http://arxiv.org/abs/1508.06576) in Keras 2.0+
Apache License 2.0
2.26k stars 481 forks source link

error in MRFNetwork.py #66

Closed vikashkum7619 closed 4 years ago

vikashkum7619 commented 4 years ago

File "MRFNetwork.py", line 763, in for k in range(f.attrs['nb_layers']): File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "C:\ProgramData\Anaconda3\envs\test\lib\site-packages\h5py_hl\attrs.py", line 60, in getitem attr = h5a.open(self._id, self._e(name)) File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py\h5a.pyx", line 77, in h5py.h5a.open KeyError: "Can't open attribute (can't locate attribute: 'nb_layers')"

titu1994 commented 4 years ago

This is deprecated. I haven't worked on mrf for 3+ years.