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

Inference time #20

Open
VNVetrov opened this issue Sep 26, 2023 · 4 comments
Open

Inference time #20

VNVetrov opened this issue Sep 26, 2023 · 4 comments

Comments

@VNVetrov
Copy link

VNVetrov commented Sep 26, 2023

Really nice project! Thank you for making it public!

The question is: what's the time of inference on image?
Actually my goal is to remove watermark in the bottom rigth corner of the video. I've already prepared the docker container and simple code to divide video into frames. How long will it take to run on 1k frames?

I can't actually check for now because video is not currently available. (I'll post my results when I finish)

Specs:

  • i5 12600kf
  • 16gb RAM 3200MHz
  • RTX 3080 (10 GB version)
@VNVetrov
Copy link
Author

Well, I did a test and I failed I guess

image
This is the result I got on 3k iteration and its not getting better
I put the first image as an input image
As a mask I put a mask of top right watermark

Right image is a result and I think I did something wrong

About inference time: on my specs (see above) it took 1 minute on GPU with such params:
show_step=3000,
max_dim=128,
reg_noise=0.03,
input_depth=64,
lr=0.01,
training_steps=10000

@VNVetrov
Copy link
Author

@braindotai If I'm doing something wrong pls lemme know

@braindotai
Copy link
Owner

braindotai commented Apr 15, 2024

I have to look into it, I think model is not performing well for all black input... I gotta test a bit and look into its potential solution. Thanks for trying my project out and highlighting one of the current potential edge case.

@Jackjun724
Copy link

I have to look into it, I think model is not performing well for all black input... I gotta test a bit and look into its potential solution. Thanks for trying my project out and highlighting one of the current potential edge case.

Oh, The model performs poorly with a white mask on a black background, it cannot remove the white mask from the black background

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

3 participants