Skip to content

What does each parameter of ControlParams mean? #2

Description

@Jiawei-Yang

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions