ximinng / SVGDreamer

[CVPR 2024] Official implementation for "SVGDreamer: Text Guided SVG Generation with Diffusion Model" https://arxiv.org/abs/2312.16476
https://ximinng.github.io/SVGDreamer-project/
MIT License
219 stars 17 forks source link

"precision" not defined, VPSD_pipeline #16

Closed jacerniello closed 3 months ago

jacerniello commented 3 months ago

Hi there, first of all, the work you've done is amazing, and thank you for making the code public.

Issue: it appears that the variable "precision" is not defined in the file VPSD_pipeline.py, line 32. I see a commit was made 3 months ago (to add fp16 support), and there's of course a reference in config.yaml, but I don't think it's reading from there correctly.

Could you fix this when you get a chance?

Edit: Actually I think all that needs to be done is rename "precision" to "dtype"

ximinng commented 3 months ago

Sorry, because of my negligence, caused this problem, I have fixed. Thanks for asking this question~

jacerniello commented 3 months ago

All good, thank you!