Face-detection-with-mobilenet-ssd icon indicating copy to clipboard operation
Face-detection-with-mobilenet-ssd copied to clipboard

hi, error in executing:face_train.ipynb

Open moahaimen opened this issue 3 years ago • 0 comments

Height, Width, Channels : 512 512 3 WARNING:tensorflow:The following Variables were used in a Lambda layer's call (tf.math.multiply_2), but are not present in its tracked objects: <tf.Variable 'detection_conv4_3_norm/detection_conv4_3_norm_gamma:0' shape=(512,) dtype=float32>. This is a strong indication that the Lambda layer should be rewritten as a subclassed Layer. Freezing classification layers classification layers freezed loading classification weights

OSError Traceback (most recent call last) in 30 print ("loading classification weights") 31 classification_model = './base_models/mobilenet_1_0_224_tf.h5' ---> 32 model.load_weights(classification_model, by_name= True) 33 34 print (colored( ('classification weights %s loaded' % classification_model), 'green'))

2 frames /usr/local/lib/python3.7/dist-packages/h5py/_hl/files.py in make_fid(name, mode, userblock_size, fapl, fcpl, swmr) 188 if swmr and swmr_support: 189 flags |= h5f.ACC_SWMR_READ --> 190 fid = h5f.open(name, flags, fapl=fapl) 191 elif mode == 'r+': 192 fid = h5f.open(name, h5f.ACC_RDWR, fapl=fapl)

h5py/_objects.pyx in h5py._objects.with_phil.wrapper()

h5py/_objects.pyx in h5py._objects.with_phil.wrapper()

h5py/h5f.pyx in h5py.h5f.open()

OSError: Unable to open file (file signature not found)

moahaimen avatar Oct 10 '22 09:10 moahaimen