Error: module 'rembg.bg' has no attribute 'get_model'
See original GitHub issueHi,
I am trying to use the automatic_masking
script, however while the installation procedure went smoothly when I tried to run the script on my images I got the following error message:
Error: module 'rembg.bg' has no attribute 'get_model'
Any idea how to resolve it?
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Django+Haystack: Exception Value: 'module' object has no ...
I'm getting this error and I have no idea what I'm supposed to do now, I cannot find anything similar though I've scoured...
Read more >[BUG] AttributeError: module 'collections' has no attribute ...
Describe the bug Just installed the software but I can't even start it. Can you please give some advice what to check to...
Read more >I am not able to use RemBg Python Software. Help me-django
I was using RemBg Software provided in this Repository. Whenever I used it. It gives me the following error- Failed to import ahead-of-time-compiled...
Read more >How to remove the background of a picture with Machine ...
Learn how to use the awesome Rembg python library to remove the background of any image with machine learning. How to remove the...
Read more >Pyimagej : module 'scyjava' has no attribute 'jvm_started'
Hello, I tried to install latest version of pyimageJ (https://github.com/imagej/pyimagej) on Windows. conda create -n pyimagej -c ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nice! 😃
Call this function:
Note that when you will try to import it like this:
it will also evaluate these lines (binding the script function to button Scripts->Automatic…), but if you don’t run under GUI - you may want to delete them.
Perfect, thanks a lot for the feedback.