Comments (13)
any news on this?
from lama.
Hii all can i get lama.onnx file. ? @windj007 @marcojoao @wcyjerry @ulfemsoy @ssometimes
from lama.
Has anyone successfully converted so far?
from lama.
Hi! Yeah, it seems that ONNX does not support FFT/IFFT
from lama.
Feel free to reopen the issue if you heave further questions.
from lama.
@marcojoao Hi, bro. I'm facing the same question, while trying to use torch.onnx to export lama with rfft,
Have u sovled this?
from lama.
@marcojoao Hi, bro. I'm facing the same question, while trying to use torch.onnx to export lama with rfft, Have u sovled this?
I also encountered the same error, did you solve it?😂
from lama.
@marcojoao Hi, bro. I'm facing the same question, while trying to use torch.onnx to export lama with rfft, Have u sovled this?
@marcojoao Hi, bro. I'm facing the same question, while trying to use torch.onnx to export lama with rfft, Have u sovled this?
I also encountered the same error, did you solve it?😂
Hello, short answer no, I did notice that Onnx team already included the necessary function, but pytorch did not update to the latest Onnx version, so here is no conversion for this new function.
I successfully converted the the fallback to "Atan" but the results are not that great.
If you guys dont wanna wait, a possible solution is to compile pytorch with the new Onnx version and your custom C++ wrapper to the new function, if you are brave enougth.
from lama.
@marcojoao Thx a lot. That's a good way to do it, but seems like really hard. So I will bailan(means wait) till pytorch officionally update with onnx. 0u0
from lama.
@marcojoao Hi, bro. I'm facing the same question, while trying to use torch.onnx to export lama with rfft, Have u sovled this?
@marcojoao Hi, bro. I'm facing the same question, while trying to use torch.onnx to export lama with rfft, Have u sovled this?
I also encountered the same error, did you solve it?😂
Hello, short answer no, I did notice that Onnx team already included the necessary function, but pytorch did not update to the latest Onnx version, so here is no conversion for this new function.
I successfully converted the the fallback to "Atan" but the results are not that great. If you guys dont wanna wait, a possible solution is to compile pytorch with the new Onnx version and your custom C++ wrapper to the new function, if you are brave enougth.
@marcojoao, do you know if the conversion to .onnx is possible now, one year later?
from lama.
No, not any success so far. Seems to be caused by still missing functionality in ONNX compared to PyTorch.
from lama.
Hello everyone,
We at @Carve-Photos have successfully ported LaMa to ONNX with results closely resembling the original. Check it out here: https://huggingface.co/Carve/LaMa-ONNX
from lama.
Hello everyone,
We at @Carve-Photos have successfully ported LaMa to ONNX with results closely resembling the original. Check it out here: https://huggingface.co/Carve/LaMa-ONNX
when set
dynamic_axes={
'img' : {0 : 'batch_size', 2 : 'width', 3 : 'height'},
'mask' : {0 : 'batch_size', 2 : 'width', 3 : 'height'},
'output' : {0 : 'batch_size', 2 : 'width', 3 : 'height'},
}
How to "Adapt FourierUnit to support dynamic axes (see irfttn and rfft for correct padding)"?
Thanks.
from lama.
Related Issues (20)
- About the training command 2 HOT 1
- Created single-file version of LaMa
- Question about generating validation and eval data
- Can I separate the Feature Refinement to Improve the High-Resolution Image Inpainting technique
- A simple ckpt to pt model convertor
- Repeated Refinement?
- Error finetuning the big-lama-with-discr model HOT 7
- Data set training problem HOT 1
- After executing the training command, it has been stuck at this point without any progress in the training. HOT 1
- Inpaint a NEW thing? HOT 3
- Refinement with Multiple Images
- How to draw a loss function curve
- Dataset is empty if configuring img_suffix: .jpg in default.yaml
- ONNX Model done HOT 10
- Output Error: No inpainted in the output_dir HOT 1
- Can't install at image in Docker
- The completion effect is not good? HOT 1
- Does Llama support inpainting a given image onto the original image as opposed to just removing from the original image
- Can't find dataloader , no outputs HOT 1
- Is there a way to find out the result is quality?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lama.