-
Notifications
You must be signed in to change notification settings - Fork 23
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
dataset #9
Comments
Hello @PINK512
Feel free to ask me anything! |
Hi, @huuquan1994 |
@PINK512
Yes, if you've trained the LFLSeg module and prepared all the training data. You can start training with
In our paper,
Yes, this is correct. Note that if you train your model with mask images (trainA_mask, trainB_mask), you don't need to load the LFLSeg module.
Yes, they are the same. To save time in training, it's recommended to use the LFLSeg module to segment the training leaf data beforehand. |
Hi @huuquan1994 |
@PINK512 As I see in your error logs, please check the |
@huuquan1994 |
@PINK512 At the first glance, seems to me that your model is not having enough training (but again, I'm not 100% sure). Plus, I'd advise you to check and try different hyper-parameters! |
Hi @huuquan1994 However, when I used masked pictures for training, the result is bad, it looks like that model cannot learn the feature. Therefore, I confused about the difference between two training ways. |
The mask images are supposed to be inputs of the discriminators only. The generators generate full images (without masking). This way, from the GAN loss, the generators will be forced to generate symptoms in the masked area only. I see that the 3rd and 4th images above are masked which are not the right outputs of LeafGAN. Please also refer to our paper for more details! |
I use the correct code. --dataset_mode unaligned_masked |
Masked images are the input of the discriminator D only, not the input of the generator G. You mentioned the 3rd image is the input (masked version), which I assume might look different from the |
@huuquan1994 |
@PINK512
I think you could try to increase the coefficient of the cycle-consistency loss (i.e., |
@PINK512 |
Hello, may I ask if the images of testA and trainA in the diseased leaves are completely different |
@cjs2000 |
Excuse me,I am a beginner of this.
I can not run the code successfully.Could you please answer my questions?
1.where should I download the initial dataset in your paper?
2.In what order should I run the code?
I will continue to search on the Internet for answers. Thank you in advance.
The text was updated successfully, but these errors were encountered: