fix hyperband adding h5data and remove param sample
This commit is contained in:
parent
2afaccc84b
commit
d0418b9efa
8
main.py
8
main.py
@ -103,14 +103,10 @@ def main_hyperband():
|
|||||||
"kernels_main": [1, 3, 5, 7, 9],
|
"kernels_main": [1, 3, 5, 7, 9],
|
||||||
"dense_main": [16, 32, 64, 128, 256, 512],
|
"dense_main": [16, 32, 64, 128, 256, 512],
|
||||||
}
|
}
|
||||||
param = hyperband.sample_params(params)
|
|
||||||
logger.info(param)
|
|
||||||
|
|
||||||
logger.info("create training dataset")
|
logger.info("create training dataset")
|
||||||
domain_tr, flow_tr, client_tr, server_tr = dataset.create_dataset_from_flows(user_flow_df, char_dict,
|
domain_tr, flow_tr, client_tr, server_tr = load_or_generate_h5data(args.h5data, args.train_data,
|
||||||
max_len=args.domain_length,
|
args.domain_length, args.window)
|
||||||
window_size=args.window)
|
|
||||||
|
|
||||||
hp = hyperband.Hyperband(params,
|
hp = hyperband.Hyperband(params,
|
||||||
[domain_tr, flow_tr],
|
[domain_tr, flow_tr],
|
||||||
[client_tr, server_tr])
|
[client_tr, server_tr])
|
||||||
|
Loading…
Reference in New Issue
Block a user