DeepFaceLab icon indicating copy to clipboard operation
DeepFaceLab copied to clipboard

Error message: "XSeg_256.npy does not exists" appeared when I tried to apply mask to images

Open dsyrock opened this issue 4 years ago • 4 comments

Traceback (most recent call last): File "main.py", line 343, in arguments.func(arguments) File "main.py", line 304, in process_xsegapply XSegUtil.apply_xseg (Path(arguments.input_dir), Path(arguments.model_dir)) File "/content/drive/My Drive/DeepFaceLab/DeepFaceLab_Colab/mainscripts/XSegUtil.py", line 57, in apply_xseg raise_on_no_model_files=True) File "/content/drive/My Drive/DeepFaceLab/DeepFaceLab_Colab/facelib/XSegNet.py", line 73, in init raise Exception(f'{model_file_path} does not exists.') Exception: /content/drive/My Drive/DeepFaceLab/workspace/model/XSeg_256.npy does not exists.

I'm sure the file is there. When I use the v2.06.19 of DFL, it's totally OK.

dsyrock avatar Jul 18 '21 04:07 dsyrock

I know what's wrong now. I'm using the old xseg model created by old version of DFL.

dsyrock avatar Jul 18 '21 04:07 dsyrock

v2.06.19 ? are you serious?

iperov avatar Jul 18 '21 11:07 iperov

Yep, I'm using a new version and an old version at the same time.

dsyrock avatar Jul 18 '21 14:07 dsyrock

Hello, I am getting this same error. Could you please let me know how to resolve this?

aravindcheruvu avatar Feb 05 '22 21:02 aravindcheruvu

Did you ever find the answer? If so, would you mind sharing it and closing this issue?

joolstorrentecalo avatar Jun 08 '23 22:06 joolstorrentecalo