Repository navigation
Where things live
Your models, settings and the log, on each system, and what to do when something goes wrong.
| What | Linux | Windows |
|---|---|---|
| SAM models, and BiRefNet for PyTorch | ~/.cache/bg-be-gone/models/ |
%LOCALAPPDATA%\bg-be-gone\models\ |
| rembg models (BiRefNet for ONNX Runtime, and the rest) |
~/.rembg/ (~/.u2net/ with older rembg) |
%LOCALAPPDATA%\bg-be-gone\u2net\ |
Settings (settings.json, seg.json) |
~/.config/bg-be-gone/ |
%LOCALAPPDATA%\bg-be-gone\config\ |
| The log | ~/.cache/bg-be-gone-worker.log |
%LOCALAPPDATA%\bg-be-gone\bg-be-gone-worker.log |
| PyTorch's compiled AMD kernels | ~/.cache/bg-be-gone/miopen/ |
%LOCALAPPDATA%\bg-be-gone\miopen\ |
On Linux, ~/.cache and ~/.config follow XDG_CACHE_HOME and XDG_CONFIG_HOME when you set them.
The menu's Open log opens the log for you, so nobody has to memorize this table.
Tip
Uninstalling leaves all of these in place, so a reinstall doesn't download a gigabyte of models again. To reclaim the space, delete the folders above. On Windows, .\uninstall.ps1 -Purge does it for source installs.
Where the app itself is installed
| Install | Where |
|---|---|
| Windows Setup |
%LOCALAPPDATA%\Programs\bg-be-gone\ by default, when installed for you only |
| Windows portable zip | wherever you unzipped it |
| Windows, from source |
%LOCALAPPDATA%\bg-be-gone\ (-Prefix picks another folder) |
| Linux AppImage | the AppImage file itself |
| Linux, from source | the clone, plus the worker's environment in ~/.local/share/bg-be-gone/
|
bg-be-gone tells you, in plain words, and keeps the details in the log.
- Errors stay on screen until you dismiss them, each with an Open log button for the details. None of them slips by while you're off making tea.
- If the background process stops, a banner says so, with where its log is, and offers Restart.
- Cancel, or Esc, stops any run: a single image, an animation, a batch, a segmentation, or a first model download.
When you report a bug, the log is the most useful thing to attach. Skim it first for anything private, such as file and folder names. A folder called Taxes 2025 is nobody's business but yours.
Note
The background process (the worker) is a separate program that loads the models and runs them, so the window never freezes. That's why it can stop on its own, and why Restart brings it back without closing the app.
Getting started
When you need it