Denis

Results 9 comments of Denis

I found the problem, I've python-slim which was causing the issue!

It's been a while since I had this problem. But as I remember, I switched to the firebase-admin package from google, as I couldn't get pyrebase running on my setup.

I just had a look at my old code and I did exactly the same at end ;)

You can call the remove function in your script with the parameters according to the one in the rembg/bg.py file. Example: output = remove(input,False,240,10,20,None,False,False) `def remove( data: Union[bytes, PILImage, np.ndarray],...

I'm only using the one generic u2net model, which is a little less than 200mb if I remember correctly. But I would prefer to have it as part of the...

Regarding the port error, make sure that the flask/fast api and Dockerfile ports are matching. I had another instance where I got some dependencies errors while compiling the Docker, and...

You have to adjust also the port in the Google Cloud console to 5000

First make sure the server started. The last three line in the Docker file: EXPOSE 5000 ENTRYPOINT ["rembg"] CMD ["s"] In the Google Cloud web interface go to "Google Cloud...

I've directly modified the .Docker file from the Github. CMD ["s"] as per the docs starts the server, not sure why they've added --help.