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

same config - GUI works well, cli version breaks #3066

Open
abcnorio opened this issue Dec 23, 2024 · 1 comment
Open

same config - GUI works well, cli version breaks #3066

abcnorio opened this issue Dec 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@abcnorio
Copy link

abcnorio commented Dec 23, 2024

Environment

chainner = v0.24.1 from release page (zip, not deb)
OS = debian trixie
GPU = nvidia 4090

Behaviour

  • config runs perfectly fine in GUI
  • config does not run with chainner run [config] - see attached log

Previously done

  • saved config in GUI
  • replaced paths with sed under linux on the terminal

Expected behavior

  • it should run, because only paths were changed and this is essential for scripting the cli version over different models with varying image folders and different text append
  • the GUI complains that the config was changed, but runs without any problem - see log that it runs, tried that several times, no break
  • the cli version breaks - see log

AGAIN:

  • same config (!!!) ie. 100% identical

Additional question

  • What is the proper way to change paths in a .chn config for cli scripting on the terminal? This is essential to be able to change paths and it does not touch or change any nodes. Insofar the explanations on the webpage for cli configs do not seem to be relevant. But nevertheless chainner complains about a changed config that only contains changed paths, nothing else.

Thanks!

LOGS

chainneroutput_TEST1-sed3_chainner_model-images-upscale_v1_GP-chainnersaved.zip
GUI-works-in-contrast-to-cli-same-config_chainner_main.zip
chainner_cli-error.zip

@abcnorio abcnorio added the bug Something isn't working label Dec 23, 2024
@derek-yn-zhang
Copy link

I have a similar issue where a workflow runs without issues in the GUI, but breaks when I run it using the CLI.

Environment

chaiNNer = v0.24.1
OS = macOS Sequoia 15.1.1
GPU = Apple M4 Pro

Behavior

Workflow runs without issues in the GUI
Workflow breaks with CLI command using override option -- see attached log

Expected behavior

The CLI command should work the same way as the GUI, and successfully execute the workflow. I examined logs from the GUI runs, and the error that breaks the CLI version is also present there -- it just doesn't seem to matter.

Logs

chainner_cli_error.log
upscale_chain.chn.zip

Thanks for looking into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants