Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Watermark removal #28

Closed
azsunlight opened this issue Apr 2, 2023 · 6 comments
Closed

Watermark removal #28

azsunlight opened this issue Apr 2, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@azsunlight
Copy link

azsunlight commented Apr 2, 2023

I fine-tuned the model via single video fine tuning, but the watermark is still there. Would like to know fine-tune detail that can remove the watermark

Many thanks

@azsunlight
Copy link
Author

And also what dataset do you use for the fine-tuning. thx

@ExponentialML
Copy link
Owner

ExponentialML commented Apr 3, 2023

Hey @azsunlight.

Usually training the temporal attention layers ('attn1', 'attn2') at a learning rate of roughly 1e-5 and weight_decay 0 should be enough to get rid of the watermark.

If it still shows, you can try training the resnet or temp_conv layers as well, but note that it takes quite a bit of VRAM.

@azsunlight
Copy link
Author

azsunlight commented Apr 3, 2023

Hi @ExponentialML, thanks for the information. What dataset do you use for fine-tuning other than single-video?

Thanks again

@ExponentialML ExponentialML added question Further information is requested enhancement New feature or request and removed question Further information is requested labels Apr 4, 2023
@green-s
Copy link

green-s commented Apr 6, 2023

@ExponentialML Could this technique potentially be applied to remove the watermark?

@ExponentialML
Copy link
Owner

@green-s & @azsunlight There was a PR that got merged with this feature in the inference script. Does this resolve the issue for you two?

@azsunlight
Copy link
Author

@green-s & @azsunlight There was a PR that got merged with this feature in the inference script. Does this resolve the issue for you two?

Yes. It works. Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants