Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Couldn't create temp file #136

Closed
benrugg opened this issue Oct 28, 2023 · 8 comments
Closed

Error: Couldn't create temp file #136

benrugg opened this issue Oct 28, 2023 · 8 comments

Comments

@benrugg
Copy link
Owner

benrugg commented Oct 28, 2023

It seems like the latest version of AI Render (0.10.0) may have introduced an occasional bug when trying to create a temp file to save the AI image.

@afecelis and @claychinasky, I think you both saw this bug. I'm wondering if it's an issue with special characters in the filename, or having too many characters in the filename (now that the prompt is saved in the filename by default).

@claychinasky, this would explain why you saw this error when you had the preset activated, but not when it wasn't activated.

Could either of you post what your prompt and preset were?

@afecelis
Copy link

Prompt:
realistic modern [livingroom] very detailed, wide camera angle 20mm, hyper sharp focus, super resolution, stunning intricate detail, photorealistic, dramatic lighting, octane render, [white] furniture, ultra realistic, 8k

Preset Style:
Product Shot

Thank you! Please let us know if you're able to fix it.
Regards,

Alvaro

@benrugg
Copy link
Owner Author

benrugg commented Oct 28, 2023

@afecelis, great, thank you. I got it fixed and I'll push a release in a minute.

@afecelis
Copy link

yesssssssssssssssssssssssssssssssssssss!!!!!!! Thank you Ben!

@benrugg
Copy link
Owner Author

benrugg commented Oct 28, 2023

Fixed in 1766f67

Update AI Render in the add-on preferences and it should work now. Definitely let me know here if you still see an error!

@benrugg benrugg closed this as completed Oct 28, 2023
@afecelis
Copy link

afecelis commented Oct 28, 2023

@benrugg I will, looking forward to further development, hope to be able to contribute somehow soon.

quick question, in API mode, for AI to run fine, can you also add the "--xformers" option? or simply "--api"?
also can I use the "--nowebui" flag? (this changes the port to http://127.0.0.1:7861), but in case I just want it to run in the background in a terminal, will it affect AI Render?

Ps. it's working!!!!!!!! yessssssssssssssssss! now we're talking!!! I'm going to start running tests now.
Ps2. Can you add an Arch Viz preset? (Edit: I just found the photorealistic preset, nevermind)
Ps3. I'm connectinbg to my local Automatic1111 installation, will there be an option to acces the models/checkpoints/Loras/Lycoris I have installed?
Ps4. I confirm, xformers and nowebui work fine (just remember to change the port in blender's settings for AI Render:
These are 512x512 renders in blender (no postpro) and the upscaled versions generated by AI-render:
https://ibb.co/2N7myGp
https://ibb.co/n6h5CH7
https://ibb.co/xsyTtDG

@afecelis
Copy link

afecelis commented Oct 29, 2023

Starting to get the hang of it!
Very simple scene in blender (also first tests enabling controlnet):
https://ibb.co/hdw9kJj
https://ibb.co/CwtcHqM
https://ibb.co/N38QTgx
https://ibb.co/7t3q4wv
https://ibb.co/yp2XYvd

@benrugg
Copy link
Owner Author

benrugg commented Oct 29, 2023

@afecelis Really glad it's all working for you. It sounds like you figured it out already, but yes, you can set whatever command line flags you want. I don't think it works with Lora's, but let me know if you're getting it to work with a Lora model.

@afecelis
Copy link

No Loras yet. Some animation tests
https://www.youtube.com/shorts/e6XhZPKfcvI?feature=share
https://www.youtube.com/shorts/L0_l0VkwFbU?feature=share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants