mberkay0 / clothing-segmentation

Clothing segmentation with DeepLabV3+
MIT License
52 stars 11 forks source link

Getting this issue while trying to load the weights. Please help #4

Open hlatif474 opened 7 months ago

hlatif474 commented 7 months ago

FileNotFoundError Traceback (most recent call last) in <cell line: 3>() weight_name = os.path.basename(w.name).replace(':0', '') weightfile = layer.name + '' + weight_name + '.npy' ---> weight_arr = np.load(os.path.join(WEIGHTS_DIR, weight_file)) weights.append(weight_arr) layer.set_weights(weights)

/usr/local/lib/python3.10/dist-packages/numpy/lib/npyio.py in load(file, mmap_mode, allow_pickle, fix_imports, encoding, max_header_size) own_fid = False else: --> fid = stack.enter_context(open(os_fspath(file), "rb")) own_fid = True

FileNotFoundError: [Errno 2] No such file or directory: 'weights/mobilenetv2/Conv_kernel.npy'

Tallerian commented 3 months ago

Hello @hlatif474, Have you found a solution to this yet?