Skip to content

why is the prompt not be learnable? #11

@yhao-z

Description

@yhao-z

As in the code, the arg learnable_input_prompt is set to be False in default, and when i check the whole model PromptMR, i find that there is no learnable_input_prompt arg, which means that prompt is not learnable.

def __init__(self, prompt_dim=128, prompt_len=5, prompt_size=96, lin_dim=192, learnable_input_prompt = False):

This really makes me confused. If the prompt is not learnable, so why it is called prompt? It just has nothing related to the distortion type, just a random noise by initialization. And, why it works as it is a pure noise?

I would really appreciate it if you or anyone else could help me to find it out

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