-
Notifications
You must be signed in to change notification settings - Fork 7
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
DRENet model training on degraded images #14
Comments
Hi @namita-agarwal ,
You can recheck the above steps, delete all the |
Thanks @WindVChen for your reply. I have the following two queries now.
Thanks in advance. |
You can take a look at our LEVIR-Ship dataset, which may help to understand the dataset format. |
@WindVChen many thanks for this! I tried your solution to train the DRENet model by keeping the degraded images in the degrade folder and non-degraded images in the images folder. But I am bit confused on this. In this way, are we training the DRENet model on degraded or non-degraded images? Can we train the DRENet model using non-degraded images only? If yes, how so? Thanks in advance. |
Hi there, The DRENet will leverage both degraded images and non-degraded images for training. It is recommended to have a look at the design details in our paper. |
@WindVChen many thanks for your reply. I got it now completely. I am wondering whether we can change the severity of blurriness to images using the DegradeGenerate.py? If yes, could you please advise how? Thanks in advance. |
Yes, the Degraded function and its severity can be changed according to your needs. You can see how we determine the degraded function and its parameters in #3 and #4 (comment). I think these may help a lot. |
@WindVChen thanks a million. It helped me a lot! |
Hi there,
I am not able to train the DRENet model using the degraded images. I have provided the degraded images path in the ship.yaml file as follows:
train: /content/gdrive/MyDrive/DRENet_new/DRENet/LEVIR_ship_dataset_full/train/degrade/
val: /content/gdrive/MyDrive/DRENet_new/DRENet/LEVIR_ship_dataset_full/val/degrade/
I get the following error message.
AssertionError: train: No labels in /content/gdrive/MyDrive/DRENet_new/DRENet/LEVIR_ship_dataset_full/train/degrade.cache. Can not train without labels.
Please advise if I am providing the incorrect file path. Looking forward to hearing from you.
Thanks.
The text was updated successfully, but these errors were encountered: