anduc
|
1 year ago
|
on: Show HN: Screen Sharing in the Browser
wow, I didn't know this was possible
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Hi guys, thanks for your interest in my little project, I'm glad you all like it.
I just spend my free time to make it much better based on your feedback
- Mobile support, tested on my iPhone
- GitHub README added
- Added medium zoom for easier viewing on Mobile
- The error banner makes it more friendly and easy troubleshooting
- Troubleshooting section in README
If you have any idea to make the UX better, please let me know, I'll appreciate it
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Several GBs of RAM definitely too much, I'm not aware that this consumes that much memory. I will spend more time trying to figure out how much memory is minimum necessary for this and will warn in the page.
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Can you provide more additional information for me?
If you're using Linux and Chrome you probably need to pass GPU flag `--enable-unsafe-webgpu --enable-features=Vulkan`
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Sorry for the inconvenience, I've tested with Arc and can confirm this error, I didn't know why this happens.
I will check further to determine the reason and report it to the upstream library (I think it's because the engine or Arc itself)
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Someone mentioned
> Looks like WEBGPU is only on nightly for FF, for now
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Hey there, sorry for the issue, does it show status "Error"? if so can you try to enable WebGPU using this flag "--enable-unsafe-webgpu --enable-features=Vulkan", if not it doesn't seems like a common error and I will spend more time on testing later
Feel free to raise an issue on Github to keep track progress, it helps open source a lot, or you can DM on x.com/duc__an anytime
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
can you raise this issue on Github? I will take a look into this later since it's not common error. I think it's because some settings on the browser
I've heard someone reported that Arc had a similar error
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Thank you, looking forward to this, if you have any feedback please let me know
via x.com/duc__an
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Ah, I didn't realize that there is any product with a similar name, and in case I already know, I think I'll still pick this name since it's only an experimental open source project with WebGPU. Remove-bg is quite common IMO, but definitely will affect SEO if I want to do more for the project, but I have no plan yet
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Hi there, it's because I copied the project template from my previous project, will check and try to upgrade to the React 19 soon if it'll work with the libraries
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
First time I see this, by the first impression I think the output quality of this one is better than mine and my code is only based on one model
In my understanding, It'll possible if the model's author build to https://onnxruntime.ai ONNX Runtime. And maybe the downside is user will need to download ton of data to their device, currently it's ~100-200mb
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Sorry for my late I missed the comment
Yeah I think it's because the quanlity of the model, hopefully we will have better quanlity in near future. I will see if anything I can do with the settings
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
It's nice to see it here, imagine it works like your repo but runs entirely in the user's browser, very cool, doesn't need any complicated setup
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Same here, this is the first time working with this library to me, it's really making me believe even more in the future of Transformer.js/WebGPU, it just beginning
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Haha, I didn't notice this! Yeah, only Vite will reduce the dependencies a lot, but I'm not sure which one is the biggest here to talk about
Will try to the deps simpler later, after all this is about a little time of work
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Maybe it's because of how I detect the GPU and switch to another backend (to support devices that don't support WebGPU).
Can you try to go https://pmndrs.github.io/detect-gpu/ and pass the result here
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
Exactly this, as mentioned in the post I've used the same technology with this playground (copied lots of code from here)
What I do is mostly make the UX better
PS: WebGPU is the future
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
I tried it on my Chrome-Mac device, but not sure how it works on other devices (assuming it works). I'll test it out later. Sorry for the inconvenience
anduc
|
1 year ago
|
on: Show HN: Remove-bg – open-source remove background using WebGPU
The error is ambiguous right now and I'll try to make it clearer (welcome for contributions)
The idea is it fallbacks to not use webgpu if your browser is not supported, but it was made in 2 hours, bug is acceptable :)