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

What does each parameter of ControlParams mean? #2

Open
Jiawei-Yang opened this issue Sep 30, 2022 · 0 comments
Open

What does each parameter of ControlParams mean? #2

Jiawei-Yang opened this issue Sep 30, 2022 · 0 comments

Comments

@Jiawei-Yang
Copy link

Hi amirhertz,

Thanks for your code and paper! The idea behind SAPE is quite exciting and appealing. I've been playing around with the code.

I wonder what each parameter of ControlParams means.

self.res = 64  # resolution of spatial mask
self.num_iterations: int = 1000  # number of total iterations for optimization
self.num_blocks: Optional[int] = None. # I don't know
self.block_iterations = 256   # I don't know
self.epsilon = 1e-3   # loss threshold to stop updating alpha(t)
self.mask_dim = None  # same as input encoding?

The above is my current understanding. Correct me if there is anything wrong.
Particularly, I don't know what num_blocks and block_iterations mean and when I should use them.

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

1 participant