-
Notifications
You must be signed in to change notification settings - Fork 24
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
-output option doesn't work #42
Comments
Side note: The output of -help is very rudimentary and doesn't explain any of the options. It also does not mention the -input option, only a -path option. Unsure if that's the same.
|
Hey, i am going to look into the output option. I think i just forgot to apply the final file name if it was set via that option. Regarding help i could add more explanation to that, but afaik, the linux version (which is the main version here) has a rudimentary explanation only aswell, but i might be wrong. But i can look into it The input option is not available for powershell, so i had to change that to path. Though it is available in the batch file, thats why its still usable through that. But the output of help is more or less automated by powershell and powershell doesnt know input exist, it only knows path which is equal to input, so it only outputs help for path, not for input (i hope that was understandable) |
Hi. I will add the rudimentary instructions into the README.md file for now while not getting into @Joly0 currently effort of upgrading the PS script. That should give some help. |
Thanks. I'm in no hurry, my GPU actually died while I was batch upscaling and I'm in the process of having it replaced (still got warranty thank god). I don't necessarily blame the tool since I bought the card used and it's been having issues before, but I might open an issue about throttling resource usage to reduce hardware stress. 🙃 |
Hahaa. Dont' do it in parallel. ;-) The way I did it #1 was a worker scheduling method in Unix. I cooked my laptop once before filing that issue. XD Ideally, the scheduler must constantly monitor the CPU temp, RAM, GPU vRAM, and GPU vRAM before starting a task. It's a weird requirement but definitely doable for the safety of the customers. It was challenging in pure posix shell support but it works. =) @Joly0 had been doing great on the PowerShell. |
Not she, i am he ;) But other than that, yeah, i am quite busy at the moment and dont have much time for any side projects :( |
Oops. My bad. XD |
Okay, the documentation part is available here acting as a redundancy: https://github.com/hollowaykeanho/Upscaler#commands-help Please ignore the parallel argument. It will only be available in the next iteration. |
If this is a recurring thing it might be prudent to add a warning to the README.md... I see there is a warning about the scaling factor. Is the scaling factor the main source of stress? Would it make any sense to run x2 twice instead of x4 once? Sorry this is totally a tangent. I'll move this question to an appropriate issue or discussion topic if preferred. |
Implemented in 5d0be0f. The next release will have the output, both in help and in status processing as shown in this CI: https://github.com/JeanShuralyov/Upscaler/actions/runs/7853319850 @Joly0, please help perform the test run on actual system please. The test script is inside |
Reproduction steps:
.\start.cmd -model xintao-realesrgan-x4plus-anime -format png -scale 4 -input o3410.dds.png -output o3410.dds.xrxa.png
Expected Behavior
Upscaled image gets saved as "o3410.dds.xrxa.png".
Current Behavior
Upscaled image gets saved as "o3410.dds-upscaled.png".
Notes
Obviously this is bad if you want to batch upscale the same image using different models, and every time it writes to the same file.
The text was updated successfully, but these errors were encountered: