Unity-Technologies / barracuda-release

Other
564 stars 76 forks source link

dynamic weights of Conv is not support #327

Open yangmingxian opened 1 year ago

yangmingxian commented 1 year ago

OnnxImportException: Unexpected error while parsing layer 331 of type Conv. Currently only constant tensors are supported for W input in node of type Conv. Instead 331.W is pointing to non constant node 322.

Unity Version: 2022.3.0 Barracuda Version: 3.0.0

Not supporting dynamic weights means giving up many latest powerful models. Is there such a function in the future development direction? Thx in advance...

fdwr commented 1 week ago

Not supporting dynamic weights means giving up many latest powerful models.

@yangmingxian I'm curious what some of those models are? Thanks. (I've been looking for cases where non-constant nodes matter for ML operators and came across this issue)

yangmingxian commented 1 week ago

I remember it was the stylegan model series. At that time, I wanted to make a fast anime avatar generator, and I might have used the pre-trained stylegan2 model. Because this question is a bit old, I don’t remember the specific details. Later, Unity released Sentis, and I haven’t tested whether the new version supports it.