fix model selection
This commit is contained in:
parent
a686f147f0
commit
d1da3d6ca3
5
fancy.sh
5
fancy.sh
@ -22,3 +22,8 @@ python3 main.py --mode beta --batch 1024 --models ${RESDIR}/client_final_*/ --da
|
||||
python3 main.py --mode beta --batch 1024 --models ${RESDIR}/both_final_*/ --data ${DATADIR} --model_output both --out-prefix ${RESDIR}/both_final
|
||||
python3 main.py --mode beta --batch 1024 --models ${RESDIR}/both_inter_*/ --data ${DATADIR} --model_output both --out-prefix ${RESDIR}/both_inter
|
||||
python3 main.py --mode beta --batch 1024 --models ${RESDIR}/both_staggered_*/ --data ${DATADIR} --model_output both --out-prefix ${RESDIR}/both_staggered
|
||||
|
||||
python3 main.py --mode embedding --batch 1024 --model ${RESDIR}/client_final_*/ --data ${DATADIR} --model_output client --out-prefix --model ${RESDIR}/client_final
|
||||
python3 main.py --mode embedding --batch 1024 --model ${RESDIR}/both_final_*/ --data ${DATADIR} --model_output both --out-prefix --model ${RESDIR}/both_final
|
||||
python3 main.py --mode embedding --batch 1024 --model ${RESDIR}/both_inter_*/ --data ${DATADIR} --model_output both --out-prefix --model ${RESDIR}/both_inter
|
||||
python3 main.py --mode embedding --batch 1024 --model ${RESDIR}/both_staggered_*/ --data ${DATADIR} --model_output both --out-prefix --model ${RESDIR}/both_staggered
|
1
main.py
1
main.py
@ -63,7 +63,6 @@ PARAMS = {
|
||||
"flow_features": 3,
|
||||
#
|
||||
'dropout': 0.5, # currently fix
|
||||
'domain_features': args.domain_embedding,
|
||||
'embedding': args.embedding,
|
||||
'flow_features': 3,
|
||||
'filter_embedding': args.filter_embedding,
|
||||
|
@ -29,6 +29,8 @@ def get_models_by_params(params: dict):
|
||||
elif network_depth == "flat2":
|
||||
networks = flat_2
|
||||
elif network_depth == "deep1":
|
||||
networks = deep1
|
||||
elif network_depth == "deep2":
|
||||
networks = renes_networks
|
||||
else:
|
||||
raise Exception("network not found")
|
||||
|
Loading…
Reference in New Issue
Block a user