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.

Wrong int cast for min and max values of parameters

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
issue-label-bot[bot]commented, Oct 25, 2020

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.

0reactions
sydhollcommented, Jan 6, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

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