What to DO?

OSError Traceback (most recent call last)
in ()
----> 1 vgg = Vgg16()
2 # Grab a few images at a time for training and validation.
3 # NB: They must be in subdirectories named based on their category
4 batches = vgg.get_batches(path+‘train’, batch_size=batch_size)
5 val_batches = vgg.get_batches(path+‘valid’, batch_size=batch_size*2)

C:\Users\abc\courses-master1\deeplearning1\nbs\vgg16.py in init(self)
41 def init(self):
42 self.FILE_PATH = ‘http://files.fast.ai/models/
—> 43 self.create()
44 self.get_classes()
45

C:\Users\abc\courses-master1\deeplearning1\nbs\vgg16.py in create(self)
133
134 fname = ‘vgg16.h5’
–> 135 model.load_weights(get_file(fname, self.FILE_PATH+fname, cache_subdir=‘models’))
136
137

C:\Users\abc\Anaconda\envs\tensorflow\lib\site-packages\keras\engine\topology.py in load_weights(self, filepath, by_name)
2512 ‘’'
2513 import h5py
-> 2514 f = h5py.File(filepath, mode=‘r’)
2515 if ‘layer_names’ not in f.attrs and ‘model_weights’ in f:
2516 f = f[‘model_weights’]

C:\Users\abc\Anaconda\envs\tensorflow\lib\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:

C:\Users\abc\Anaconda\envs\tensorflow\lib\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 (C:\Minonda\conda-bld\h5py_1490029679460\work\h5py_objects.c:2867)()

h5py_objects.pyx in h5py._objects.with_phil.wrapper (C:\Minonda\conda-bld\h5py_1490029679460\work\h5py_objects.c:2825)()

h5py\h5f.pyx in h5py.h5f.open (C:\Minonda\conda-bld\h5py_1490029679460\work\h5py\h5f.c:2140)()

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

I tried deleting the model in .keras/models but I’m still getting this error. Did you fix it?