Wrong int cast for min and max values of parameters
See original GitHub issueI have the following yaml configuration for some parameters:
beta:
min: 0.0
max: 1.0
However, when generating a new sweep with the wandb CLI they are casted to int. From the web interface I can see
beta:
min: 0
max: 1
And so the values are sampled from an integer distribution, instead of a float uniform. Is this a bug or am I missing something?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
Why can't `std::min` be used between `int` and `long long int`
My doubt arises because what I know for sure that compiler can implicitly type cast from smaller datatype(int) to larger datatype(long long int) ......
Read more >How to Handle Multiple Types in Max Without A Cast
When passing two different types to min or max in C++, it's tempting to force them in with a cast. But there is...
Read more >Expressions - Azure Pipelines | Microsoft Learn
Evaluates the parameters in order, and returns the value that does not equal null or empty-string. Min parameters: 2. Max parameters: N; Example ......
Read more >Integer (int) has no max limit in Python3 - nkmk note
You can get the max value of int with sys.maxint . The min value (the largest negative value) is -sys.maxint-1 . 28.1. sys.maxint...
Read more >4.1. Specification of MiniZinc
Introduction¶. This document defines MiniZinc, a language for modelling constraint satisfaction and optimisation problems. MiniZinc is a high-level, typed, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
bug
to this issue, with a confidence of 0.84. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
In the past year we’ve majorly reworked the CLI and UI for Weights & Biases. We’re closing issues older than 6 months. Please comment to reopen.