Replies: 1 comment
-
problem solved.
This is everything what I needed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently studying MMDetection in order to replicate the DDetailer project, and I have almost completed the basic setup.
I have been using the inference_detector function in MMDetection, and it seems to work perfectly when the image parameter is a filepath.
However, if the input for the image parameter is a ndarray, the function execution fails during the resizing stage in the pipeline. I'm having trouble understanding the behavior of the pipeline, especially since there appear to be several transformations already in place.
("Image" is obtained from the output of "LoadImage" node.)
According to the API description, the img parameter allows both filenames and ndarrays as input. However, I am experiencing errors when using an ndarray as input, and I am not familiar with the framework to understand why this is happening.
How to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions