Hi @Shantanugupta1118 ,
I have meet an error wile running the module1 (train_mask_detector.py). The error occurs after training the mask at the last steps:
[INFO] saving mask detector model...
Traceback (most recent call last):
File "E:\New folder\train_mask_detector.py", line 144, in
model.save(args["model"], save_format="h5")
File "C:\Users\MY HP\AppData\Roaming\Python\Python39\site-packages\keras\utils\traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "C:\Users\MY HP\AppData\Roaming\Python\Python39\site-packages\h5py_hl\files.py", line 533, in init
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
File "C:\Users\MY HP\AppData\Roaming\Python\Python39\site-packages\h5py_hl\files.py", line 232, in make_fid
fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
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\h5f.pyx", line 126, in h5py.h5f.create
OSError: [Errno 22] Unable to create file (unable to open file: name = 'classifier.model', errno = 22, error message = 'Invalid argument', flags = 13, o_flags = 302)
How can i solve it? Thanks.