Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] matting issue #1835

Closed
3 tasks done
mxgbs opened this issue May 2, 2023 · 2 comments · Fixed by #1836
Closed
3 tasks done

[Bug] matting issue #1835

mxgbs opened this issue May 2, 2023 · 2 comments · Fixed by #1836
Assignees
Labels
kind/bug something isn't working

Comments

@mxgbs
Copy link

mxgbs commented May 2, 2023

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmagic

Environment

pip
cuda 11.3

Reproduces the problem - code sample

python mmagic_inference_demo.py --model-name gca --img image_jpg/2010.jpg --tri_map tri_labels_dilate/2010.png --result-out-dir hair_mat/2010.png

Reproduces the problem - command or script

python mmagic_inference_demo.py --model-name gca --img image_jpg/2010.jpg --tri_map tri_labels_dilate/2010.png --result-out-dir hair_mat/2010.png

Reproduces the problem - error message

open-mmlab/lib/python3.9/site-packages/mmengine/fileio/backends/local_backend.py", line 33, in get
with open(filepath, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'None'

Additional information

Seems matting not working?
Do u only support gca for current framework? Can we add indexnet matting also? Thank you

@mxgbs mxgbs added the kind/bug something isn't working label May 2, 2023
@Z-Fran Z-Fran linked a pull request May 4, 2023 that will close this issue
7 tasks
@Z-Fran
Copy link
Collaborator

Z-Fran commented May 4, 2023

@mxgbs We have fixed this bug and support all models @ #1833

@Z-Fran Z-Fran self-assigned this May 4, 2023
@Z-Fran
Copy link
Collaborator

Z-Fran commented May 4, 2023

Closing this issue since the bug has been fixed in a merged pull request. Please feel free to reopen it if it has not been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants