You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When retrieving network parameters with get_net_param I obtain an empty dict that I clearly cannot import as state_dict of a Pytorch model.
To Reproduce
Please provide a small script to reproduce the behavior:
fromnats_benchimportcreatenats_api=create("NATS-tss-v1_0-3ffb9-simple", search_space="topology", fast_mode=True, verbose=False)
# sample random idx to simulate behaviorrandom_idx=nats_api.random()
# get corresponding architecture on CIFAR10random_architecture=nats_api.get_net_config(index=random_idx, dataset="cifar10")
# retrieve network parameters according to main README.mdrandom_params=nats_api.get_net_param(index=random_idx, dataset="cifar10", seed=None)
print(random_params)
# prints {111: None}print(next(iter(random_params.values())))
# prints None
OS: macOS Ventura 13.0.1
Python version: 3.10.8
Pytorch version: 1.13.0 Expected behavior
random_params should be a meaningful dictionary that I could use as params dict for a torch model
The text was updated successfully, but these errors were encountered:
Describe the bug
When retrieving network parameters with
get_net_param
I obtain an empty dict that I clearly cannot import as state_dict of a Pytorch model.To Reproduce
Please provide a small script to reproduce the behavior:
OS: macOS Ventura 13.0.1
Python version: 3.10.8
Pytorch version: 1.13.0
Expected behavior
random_params should be a meaningful dictionary that I could use as params dict for a torch model
The text was updated successfully, but these errors were encountered: