Skip to content
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

The message length of the diffusion model #9

Closed
python-pop opened this issue Dec 12, 2023 · 4 comments
Closed

The message length of the diffusion model #9

python-pop opened this issue Dec 12, 2023 · 4 comments

Comments

@python-pop
Copy link

Thanks for your code.
The message length of the diffusion model is 30 bits, and 256 bits when fully connected. When I change the length to another value for testing, I get an error. If I want to increase the message length, e.g. to 128 or 256 bits, what should I do, do I need to retrain.

@jzyustc
Copy link
Owner

jzyustc commented Dec 14, 2023

Sure, you need to change the message length in the settings files and then retrain the model.

@python-pop
Copy link
Author

Thank you, I would like to ask a question, as shown below.
I see that you use image_and_cover many times when passing parameters in your code, it is a list of length 2.
But I can't find where it's defined. so for image, cover_image=img_and_cover,can you tell me what these two variables represent?
Thanks again.
QQ截图20231214145216

@jzyustc
Copy link
Owner

jzyustc commented Jan 9, 2024

Sorry for the late reply. Normally, "image" represents the encoded image, while "cover_image" represents the original image.

They are defined here:
https://github.com/jzyustc/MBRS/blob/c0f31767bfe4262ea633c5779dacda6264795f7a/network/Encoder_MP_Decoder.py#L20C1-L20C1

@jzyustc
Copy link
Owner

jzyustc commented Mar 5, 2024

Closing due to inactivity. Feel free to reopen if needed. Thanks.

@jzyustc jzyustc closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants