Is there a simple way to pass in float values as string in an env variable to jsonnet config file and have it atuomatically converted or can we only do it in python code ?
We typically use
from_params wherever we know that we should be expecting a float (based on the type annotations). The only places this might break are when you’re passing something straight to pytorch, with optimizer params or something, but we try to handle it correctly there, too. Where are you running into a problem with this?