Unable to create vgg16 object even after manually downloading vgg16.h5

I tried to run this in the cell and it showed unable to open file…I checked the forum and didn’t find any similar error I tried to change the the path in vgg16.py from

model.load_weights(get_file(fname, self.FILE_PATH+fname, cache_subdir=‘models’))

to

model.load_weights(“vgg16.h5” ) but it is showing the same error as earlier it was showing.OS is Ubuntu14.04

batch_size = 64

import vgg16

from vgg16 import Vgg16

vgg = Vgg16()


OSError Traceback (most recent call last)
in ()
2 import vgg16
3 from vgg16 import Vgg16
----> 4 vgg = Vgg16()

~/Documents/vgg16.py in init(self)
45 def init(self):
46 self.FILE_PATH = ‘http://files.fast.ai/models/
—> 47 self.create()
48 self.get_classes()
49

~/Documents/vgg16.py in create(self)
137
138 fname = ‘vgg16.h5’
–> 139 model.load_weights(“vgg16.h5”)
140
141

~/anaconda3/lib/python3.6/site-packages/keras/engine/topology.py in load_weights(self, filepath, by_name)
2700 “”"
2701 import h5py
-> 2702 f = h5py.File(filepath, mode=‘r’)
2703 if ‘layer_names’ not in f.attrs and ‘model_weights’ in f:
2704 f = f[‘model_weights’]

~/anaconda3/lib/python3.6/site-packages/h5py/_hl/files.py in init(self, name, mode, driver, libver, userblock_size, swmr, **kwds)
269
270 fapl = make_fapl(driver, libver, **kwds)
–> 271 fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
272
273 if swmr_support:

~/anaconda3/lib/python3.6/site-packages/h5py/_hl/files.py in make_fid(name, mode, userblock_size, fapl, fcpl, swmr)
99 if swmr and swmr_support:
100 flags |= h5f.ACC_SWMR_READ
–> 101 fid = h5f.open(name, flags, fapl=fapl)
102 elif mode == ‘r+’:
103 fid = h5f.open(name, h5f.ACC_RDWR, fapl=fapl)

h5py/_objects.pyx in h5py._objects.with_phil.wrapper (/home/ilan/minonda/conda-bld/h5py_1490028290543/work/h5py/_objects.c:2846)()

h5py/_objects.pyx in h5py._objects.with_phil.wrapper (/home/ilan/minonda/conda-bld/h5py_1490028290543/work/h5py/_objects.c:2804)()

h5py/h5f.pyx in h5py.h5f.open (/home/ilan/minonda/conda-bld/h5py_1490028290543/work/h5py/h5f.c:2123)()

OSError: Unable to open file (Truncated file: eof = 287023104, sblock->base_addr = 0, stored_eoa = 553482496)

Any solution for this? I’m having the same problem.