Coder Social home page Coder Social logo

ieu.winforms's People

Contributors

alsa64 avatar ptrsuder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ieu.winforms's Issues

[BUG] Error with the input argument

Describe the bug
When launching with these settings I get this error

image

[15/09/2022 11:36:43] Microsoft Windows 10.0.19043
[15/09/2022 11:36:43] .NET Framework 4.8.4515.0
[15/09/2022 11:36:43] NVIDIA GeForce RTX 3080 Ti: 12398 MB
[15/09/2022 11:36:43] Currently available VRAM: 581 MB
[15/09/2022 11:36:43] preview.png SPLIT START
[15/09/2022 11:36:44] preview.png SPLIT DONE
[15/09/2022 11:36:44] Starting ESRGAN...
[15/09/2022 11:36:45] Traceback (most recent call last):
[15/09/2022 11:36:45] File "upscale.py", line 12, in
[15/09/2022 11:36:45] upscaleSize = int(sys.argv[2])
[15/09/2022 11:36:45] ValueError: invalid literal for int() with base 10: '--input'
[15/09/2022 11:36:45] Error ocured during ESRGAN work!

To Reproduce
My settings:

image

Expected behavior
No error

Screenshots

Version
IEU Core V0.14.0
IEU Winforms 0.13.0

Additional context
Add any other context about the problem here.

Wrong default paths

1. warning
2. warning
Expected behaviour: Get paths from current path maybe (../esrgan/). Example:

somePath/
|-esrgan/
|-IEU/

No error, IEU does not perform enhancement with RTX 3090 [BUG]

Went form RTX 2080 TI to RTX 3090 on Windows 10. 8700K, 32GB RAM. On latest drivers 457.09 (tried 2 previous versions also).

Hitting Preview or "enhance and save as png" etc does nothing, the progress bar animates and python runs in the background but GPU never allocates any memory usage and the task never completes.

Colors brighter if RGB not split

I've run into an issue where textures come out of the split brighter unless I split by RGB and then merge. Simply splitting is enough to produce the problem, but I assume it's related to splitting alphas. This doesn't affect dds or tiff files, but it does affect png files.

Dividing with zero when merging [BUG]

If you set Resize above 1 (2 or 4) on Image preprocess' "Resize" setting:

  Merging image will divide with zero.

image

  Preview gives error: "Failed to create preview!" ( at the very end )

image

Settings:
image

"Attempted to divide by zero" when merging tiles w/ multiple models

Describe the bug
Whenever I try to use two models at the same time to upscale an image (so that I can easily compare the two results), the tiles do not merge. Instead, it prints out that it "attempted to divide by zero" and skips both results.

To Reproduce
Using these settings:
image

  1. Select two models from the Basic tab (I chose Digipaint and Digital Frames, as the image is a screenshot from an animated film.)
  2. Have the Output mode as "Folder for each image"
  3. Go through the usual method ("Split", "Run ESRGAN", "Merge", or "Split-ESRGAN-Merge")
  4. See error

Expected behavior
The tiles should properly merge, resulting in two folders in the output folder, one for each model.

Screenshots
The error in question:
Capture

Version

  • Version 0.11.0

Additional notes
I started having this problem as soon as I updated IEU. It's possible that the update messed something up somehow. In the meantime, I have to use each model one at a time to avoid the bug, and rename each image to differentiate between them.

"RuntimeError: CUDA out of memory." [BUG?]

Started happening lately. I have "auto set tille dimensions" enabled which sets tile res to 893x893 and it always fails to upscale,sometimes lowering it help but most of the time I still get the same error. I have RTX 2080 8GB.

[12.10.2020 14:30:26] Traceback (most recent call last): [12.10.2020 14:30:26] File "IEU_test.py", line 119, in <module> [12.10.2020 14:30:26] output = model(img_LR).data.squeeze(0).float().cpu().clamp_(0, 1).numpy() [12.10.2020 14:30:26] File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\module.py", line 722, in _call_impl [12.10.2020 14:30:26] result = self.forward(*input, **kwargs) [12.10.2020 14:30:26] File "C:\ESRGAN\architecture.py", line 37, in forward [12.10.2020 14:30:26] x = self.model(x) [12.10.2020 14:30:26] File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\module.py", line 722, in _call_impl [12.10.2020 14:30:26] result = self.forward(*input, **kwargs) [12.10.2020 14:30:26] File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\container.py", line 117, in forward [12.10.2020 14:30:26] input = module(input) [12.10.2020 14:30:26] File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\module.py", line 722, in _call_impl [12.10.2020 14:30:26] result = self.forward(*input, **kwargs) [12.10.2020 14:30:26] File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\conv.py", line 419, in forward [12.10.2020 14:30:26] return self._conv_forward(input, self.weight) [12.10.2020 14:30:26] File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\nn\modules\conv.py", line 415, in _conv_forward [12.10.2020 14:30:26] return F.conv2d(input, weight, self.bias, self.stride, [12.10.2020 14:30:26] RuntimeError: CUDA out of memory. Tried to allocate 3.04 GiB (GPU 0; 8.00 GiB total capacity; 3.11 GiB already allocated; 2.77 GiB free; 3.13 GiB reserved in total by PyTorch) [12.10.2020 14:30:26] Error ocured during ESRGAN work!

app does not start.

When I start ImageEnhancingUtility.Winforms.exe,they will show me an error window.

MyHandler caught: 未将对象引用设置到对象的实例。

Version: ImageEnhancingUtility.Winforms.0.13.0

[BUG] Merging tiles takes very very long and takes up 30GB ram, sometimes errors

When trying to merge tiles it takes more than 10 minutes to process each image (720x4000), when i let it process a couple of images it takes up enough ram to make my pc almost crash (30GB), it sometimes errors with (extract area etc)

To Reproduce

  1. try merging tiles, the bug will happen with random images

Expected behavior
merge tiles

Version

  • Version 0.10.04

Crashes due to full RAM[BUG]

Seems like the app has problems with memory management. While doing the full process it crashes on merge. But if I open the app again and merge what's left in the folder it completes without problems. I've already turned the tile size down to 256px. It's impossible to do large texture folders.

IEU latest
RTX 2080S 8GB VRAM
16GB RAM
Win11

Question: Will this be updated?

Not sure if ESRGAN has been updated to much since this came out but im curious if this will get updated to support it if it has?

Tile merging issue

I ran into a problem while running a batch of textures through a 1x denoise model. It only happened with one texture, although I don't see what's different about it. Doesn't happen anymore once I restart IEU and run "merge" again. Not sure what's going on or if you want to look into it, but here you go.

Tiles
explorer_2019-09-10_20-20-13

Output
i_view64_2019-09-10_20-20-31

Files
LR.zip

Process multiple images at once

I have a very heterogeneous set of images I want to run, resolution goes from 64x64 to 1024x1024, and I was wondering if there was a way to speed things up by packing smaller images together.

Say I allowed tiles up to 1000x1000 in the settings, and I want to process 10 images that are 500x500. I assume it would be possible to have IEU process 4 at a time instead of one after the other as it does now ? Would it actually be faster ?

Interpolation doesn't work

Settings two different models and alpha 0.5, I also tried 0.3 but that didnt' work either.
Log:

[7/20/2019 11:33:35 AM] Alpha should be between 0.0 and 1.0

hi have this module not found issue idk how to fix the issue

hi I am really really new to coding so I usually have no idea what's going on. I have run into an issue where they will have an error saying error module not found not module named 'architect' and i have no clue how to fix it after searching through online forums. PAny help will be appreciated thanksss

Some weird problem when using x1 models

It's me again with another obscure problem I'm having. Tried a few different pictures, but I always get this error when I use a x1 model like denoise BC1. Works perfectly fine with x4 models.

Edit: Tested on another computer, I can't reproduce the problem there. I tried reinstalling IEU, ESRGAN and torch, no change.

ImageEnhancingUtility Winforms_2019-09-12_23-29-32

[BUG] "Sequence contains no elements"

Describe the bug
While I can see that the program has successfully upscaled the tiles in the result folder, it is unable to merge said files because the "sequence contains no elements", even when just pressing the "Merge" button afterwards. I tried changing the filename of the original file (since it had +'s in it and I thought that might have caused issues), but that didn't seem to work. I also tried it with the "process with memory" option on, but not only did it not work, but the program also closed/crashed after throwing up the error message.

To Reproduce
What settings: See screenshots
Steps to reproduce the behavior:

  1. Take a 1500x2500+ image and place it in "IEU_input"
  2. Use Digipaint35000
  3. Click on 'SPLIT-ESRGAN-MERGE'
  4. Wait for tiles to render - they should appear in the results folder
  5. See error

Expected behavior
The program should merge the completed tiles after rendering them.

Screenshots
image
image

Version

  • Version 0.11.0

[FEATURE] Add Support to run inputs sequentially

[FEATURE] I would like IEU to be able to run inputs sequentially such as frames for a video, as of right now it sees the left most number and goes off of that which results in it going randomly down an input of frames. It would be very helpful to have the option to use the RIGHT most number to select order allowing it to run in numerical order.

Please add Anaconda environment selection [FEATURE]

Is your feature request related to a problem? Please describe.
The way I set up my python, the python installation with all the dependencies I need for ESRGAN always needs to be activated via "conda activate [environment name]" or, in a .bat script, like this: "call conda activate [environment name]". Without this, it will not work I think.

Describe the solution you'd like
Just a textbox to enter the conda environment name, if required, which is then called before the python script is executed so that the environment is correct.

Describe alternatives you've considered
None.

Additional context
That's it pretty much.

[Bug] No tree view

Describe the bug
I have a problem at my first launch. (Using version 0.10.4) After running [SPLIT] I don't get a tree view, from which I can choose models from.
shrthsrhr

Model chain subfolders [FEATURE]

Good to see you're still developing this.
Can you please add an option to preserve folder structure while using multiple models chain?

Check all boxes[FEATURE]

It would be great to have a check all boxes option so we don't have to click each one when running multiple models.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.