Closed radry closed 1 year ago
Hi @radry, it looks like the script is failing to fetch the images. I've tested the config file you sent (just replaced the dataset paths to use nomos_uni lmdb) and it works correctly on my end. So I'm assuming this is either a dependency issue or incorrect dataset (or paths). Please verify if your dataset folder is accessible to the script, it might currently be denied (no privileges on your current user).
If you have installed like the instructions, I'd recommend you download the nomos_uni dataset to a local user accessible path (like C:\Users\user\Downloads\nomos_uni_gt\
), just to make sure there's nothing wrong with your dataset or folder access privileges.
Thank you, I tried the nomos_uni dataset and it seems to run without errors.
I don't know how to fix my dataset though. I had to run it through imagemagicks mogrify because before it was giving me constant errors about incorrect ICC sRGB profile.
If I may ask you another question since you tried running my config:
When it loads the pretrained model I get a lot of warning like this (shorted section here)
Is this normal?
2023-09-07 12:37:44,903 INFO: Loading esrgan model from G:\_AI\UPSCALE\Models\RealESRGAN_x4plus.pth, with param key: [params_ema].
2023-09-07 12:37:44,956 WARNING: Current net - loaded net:
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv1.bias
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv1.weight
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv2.bias
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv2.weight
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv3.bias
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv3.weight
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv4.bias
2023-09-07 12:37:44,958 WARNING: body.0.rdb1.conv4.weight
2023-09-07 12:37:44,959 WARNING: body.0.rdb1.conv5.bias
2023-09-07 12:37:44,959 WARNING: body.0.rdb1.conv5.weight
2023-09-07 12:37:44,959 WARNING: body.0.rdb2.conv1.bias
2023-09-07 12:37:44,959 WARNING: body.0.rdb2.conv1.weight
2023-09-07 12:37:44,959 WARNING: body.0.rdb2.conv2.bias
2023-09-07 12:37:44,960 WARNING: body.0.rdb2.conv2.weight
2023-09-07 12:37:44,960 WARNING: body.0.rdb2.conv3.bias
2023-09-07 12:37:44,960 WARNING: body.0.rdb2.conv3.weight
2023-09-07 12:37:44,960 WARNING: body.0.rdb2.conv4.bias
2023-09-07 12:37:44,961 WARNING: body.0.rdb2.conv4.weight
2023-09-07 12:37:44,961 WARNING: body.0.rdb2.conv5.bias
2023-09-07 12:37:44,961 WARNING: body.0.rdb2.conv5.weight
2023-09-07 12:37:44,962 WARNING: body.0.rdb3.conv1.bias
2023-09-07 12:37:44,962 WARNING: body.0.rdb3.conv1.weight
2023-09-07 12:37:44,962 WARNING: body.0.rdb3.conv2.bias
2023-09-07 12:37:44,962 WARNING: body.0.rdb3.conv2.weight
2023-09-07 12:37:44,963 WARNING: body.0.rdb3.conv3.bias
2023-09-07 12:37:44,963 WARNING: body.0.rdb3.conv3.weight
2023-09-07 12:37:44,963 WARNING: body.0.rdb3.conv4.bias
2023-09-07 12:37:44,963 WARNING: body.0.rdb3.conv4.weight
2023-09-07 12:37:44,964 WARNING: body.0.rdb3.conv5.bias
2023-09-07 12:37:44,964 WARNING: body.0.rdb3.conv5.weight
I don't know how to fix my dataset though.
Make sure all images are in a format supported by opencv, such as png, jpeg, webp or tiff.
a lot of warning like this
I've just commited the fix, please update the repository :+1:
Shortly after starting the training following error occurs:
The strange thing is, seeing the last line, I don't even have that path or drive on my PC??
I followed the installation instructions, so all dependencies should be installed.
Windows 10 Python 3.11.5 Torch 2 CUDA 11.8
Config File attached. train_realesrgan.txt