question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unused parameters in scheduler `init`'s

See original GitHub issue

What API design would you like to have changed or added to the library? Why?

I see some of the schedulers had these parameters added to init

        trained_betas: Optional[np.ndarray] = None,
        timestep_values: Optional[np.ndarray] = None,

I’m guessing the first is an option to directly pass betas when creating the scheduler, but what is timestep_values for? I didn’t see any uses.

I would like to regularize these (e.g. seems like all DDPM -like schedulers can use trained_betas pretty easily)

Can easily address this while completing #376.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
kashifcommented, Oct 27, 2022
1reaction
patil-surajcommented, Oct 27, 2022

Have we seen any example using trained_betas? If not then I think should be fine to remove it.

BDDM would be nice to have, but I don’t have much bandwidth for next 2 weeks to work on it. Maybe @kashif after you are done with notes2audio 😃 Would be happy to help

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unused type parameter on closure argument - rust
Why is using a type parameter in the closure's return type ok, but not in its arguments? I can get around it by...
Read more >
28 Oracle Scheduler Concepts - Database
A job instance represents a specific run of a job. You can supply job arguments to override the default program argument values. Scheduler...
Read more >
runtimeerror: expected to have finished reduction in the prior ...
This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by (1)...
Read more >
learn2learn.algorithms
Returns a MAML -wrapped copy of the module whose parameters and buffers are ... default=None) - Whether to allow differentiation of unused parameters....
Read more >
Unused nagios parameters - Shinken's documentation!
This setting determines whether or not Nagios will retain scheduling info (next check times) for hosts and services when it restarts. If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found