photopea / UNN.js

Deep Learning in JS. Alternative to TensorFlow and ConvNetJS, that is 4x faster.
MIT License
129 stars 18 forks source link

Demo? #8

Open Zireael07 opened 1 year ago

Zireael07 commented 1 year ago

I'm not sure how to use this otherwise?

Does it have depthwise convolution? How would I add a new layer type if it doesn't?

TrevorBlythe commented 1 year ago

No depthwise conv but I can just add it I didn't know that was a thing.

On Sun, Aug 13, 2023, 5:10 AM Zireael07 @.***> wrote:

I'm not sure how to use this otherwise?

Does it have depthwise convolution? How would I add a new layer type if it doesn't?

— Reply to this email directly, view it on GitHub https://github.com/photopea/UNN.js/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLWMDRIGYDY4UPASYZEZ3TXVCRY5ANCNFSM6AAAAAA3ORLOZ4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

photopea commented 1 year ago

I have never heard of the depthwise convolution either. It should be easy to implement. But are you sure this library (running on a single CPU thread) will be sufficient for your AI needs?

Zireael07 commented 1 year ago

Depthwise convolution is what MobileNet uses. I do not know the details.

(You claim that this is faster than the other js libraries and comparable with tensorflow js, in the README)

photopea commented 1 year ago

Yes, it should be faster, but we dont have this type of convolution in UNN.js. Does it work well in Tensorflow.js in your case?

Zireael07 commented 1 year ago

Yes

TrevorBlythe commented 1 year ago

So is depthwise conv just a conv over a single specific depth ignoring others? I dont understand

On Sun, Aug 13, 2023, 9:07 AM Zireael07 @.***> wrote:

Yes

— Reply to this email directly, view it on GitHub https://github.com/photopea/UNN.js/issues/8#issuecomment-1676370749, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLWMDWETMPGGEQJS6QZ4KTXVDNRFANCNFSM6AAAAAA3ORLOZ4 . You are receiving this because you commented.Message ID: <photopea/UNN. @.***>

Zireael07 commented 1 year ago

I think yes, Googling throws up some scientific papers on the topic