dc42abb2f5f7dd059cf6fac3eae2832931925573,python/ray/tune/config_parser.py,,create_trial_from_spec,#Any#Any#Any#,150
Before Change
args, _ = parser.parse_known_args(to_argv(spec))
except SystemExit:
raise TuneError("Error parsing args, see above message", spec)
if "resources_per_trial" in spec:
trial_kwargs["resources"] = json_to_resources(
spec["resources_per_trial"])
return Trial(
// Submitting trial via server in py2.7 creates Unicode, which does not
// convert to string in a straightforward manner.
trainable_name=spec["run"],
After Change
global _cached_pgf
spec = spec.copy()
resources = spec.pop("resources_per_trial", None)
try:
args, _ = parser.parse_known_args(to_argv(spec))
except SystemExit:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: ray-project/ray
Commit Name: dc42abb2f5f7dd059cf6fac3eae2832931925573
Time: 2021-01-18
Author: krfricke@users.noreply.github.com
File Name: python/ray/tune/config_parser.py
Class Name:
Method Name: create_trial_from_spec
Project Name: pantsbuild/pants
Commit Name: a1696c815774552ee14e8df30f5636bb97c2b9e9
Time: 2018-07-13
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/tasks/wrapped_pex.py
Class Name: WrappedPEX
Method Name: run
Project Name: analysiscenter/batchflow
Commit Name: 53f15232ed13154bc5338dc002b43c3c62547ea7
Time: 2017-11-12
Author: rhudor@gmail.com
File Name: dataset/models/tf/vgg.py
Class Name: VGG
Method Name: block
Project Name: eth-cscs/reframe
Commit Name: b817ad7232b542afd9fe258a85f7a059322dd8a1
Time: 2020-11-25
Author: karakasis@cscs.ch
File Name: reframe/utility/jsonext.py
Class Name: _ReframeJsonDecoder
Method Name: __init__