-
Notifications
You must be signed in to change notification settings - Fork 11
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
Crop attack #2
Comments
Hi, I don't know the exact settings of your training, so I will try to describe the details in my training. I train the diffusion model with Combined noise layers, including Jpeg and Crop, as described in the paper. The message length is 30bits and after fully connection layer it's 256 dimension. The size of images is 128x128. Batch size is 16 and I use one NVIDIA 2080Ti to train. The logging file of training is uploaded in the /result folder, together with the pre-trained model. The training is not stable so I apply early stopping by the validation result. In fact, the BER of validation varies from about 2% to 10%, and I use the best epoch for testing. Wish these details can help you. |
Hi, to solve the instability of diffusion model training, I update the training process by adjusting the learning rate dynamically. You can find the detail in README. Wish it can help. |
This issue will keep open, because there might be better methods to solve the unstable problem. Glad to see more ideas. |
I test the pre-trained model that you offered, and the result is same as the paper, but the model that i trained is not good. I don't know if the setting is identical to you, so you could tell me the accurate setting about training. Could you add the parameters into the results ?thx!!! |
Well, You can try our updated training method, and the setting of stage1 is like this :
For the finetune stage, just set it as this:
Good luck |
Just look at my previous reply. I only use Crop and JPEG (real and simulated) to train, not with Cropout and Dropout, which is the same as what I describe in the paper. And I have provided the train_settings.json file in the previous reply. Just try to use it. And please notice that, 'JpegTest' is only used in testing because it use PIL to save .jpg image. For training, please use 'JpegMask' or 'JpegSS' for simulated JPEG, and use 'Jpeg' for real JPEG. |
hello
For the crop attack, I trained the model by setting the parameter(0.0225) according to the paper and test (0.035). But the effect was not as good as the result in the paper, it was even worse. Could u tell me the reason? thx
The text was updated successfully, but these errors were encountered: