update scripts
This commit is contained in:
		| @@ -11,8 +11,6 @@ from .CifarNet import NetworkCIFAR | ||||
| from .ImageNet import NetworkImageNet | ||||
|  | ||||
| # genotypes | ||||
| from .genotypes import DARTS_V1, DARTS_V2 | ||||
| from .genotypes import NASNet, PNASNet, AmoebaNet, ENASNet | ||||
| from .genotypes import DMS_V1, DMS_F1, GDAS_CC | ||||
| from .genotypes import model_types | ||||
|  | ||||
| from .construct_utils import return_alphas_str | ||||
|   | ||||
| @@ -179,7 +179,7 @@ ENASNet = Genotype( | ||||
| DARTS = DARTS_V2 | ||||
|  | ||||
| # Search by normal and reduce | ||||
| DMS_V1 = Genotype( | ||||
| GDAS_V1 = Genotype( | ||||
|   normal=[('skip_connect', 0, 0.13017432391643524), ('skip_connect', 1, 0.12947972118854523), ('skip_connect', 0, 0.13062666356563568), ('sep_conv_5x5', 2, 0.12980839610099792), ('sep_conv_3x3', 3, 0.12923765182495117), ('skip_connect', 0, 0.12901571393013), ('sep_conv_5x5', 4, 0.12938997149467468), ('sep_conv_3x3', 3, 0.1289220005273819)], | ||||
|   normal_concat=range(2, 6), | ||||
|   reduce=[('sep_conv_5x5', 0, 0.12862831354141235), ('sep_conv_3x3', 1, 0.12783904373645782), ('sep_conv_5x5', 2, 0.12725995481014252), ('sep_conv_5x5', 1, 0.12705285847187042), ('dil_conv_5x5', 2, 0.12797553837299347), ('sep_conv_3x3', 1, 0.12737272679805756), ('sep_conv_5x5', 0, 0.12833961844444275), ('sep_conv_5x5', 1, 0.12758426368236542)], | ||||
| @@ -187,7 +187,7 @@ DMS_V1 = Genotype( | ||||
| ) | ||||
|  | ||||
| # Search by normal and fixing reduction | ||||
| DMS_F1 = Genotype( | ||||
| GDAS_F1 = Genotype( | ||||
|   normal=[('skip_connect', 0, 0.16), ('skip_connect', 1, 0.13), ('skip_connect', 0, 0.17), ('sep_conv_3x3', 2, 0.15), ('skip_connect', 0, 0.17), ('sep_conv_3x3', 2, 0.15), ('skip_connect', 0, 0.16), ('sep_conv_3x3', 2, 0.15)], | ||||
|   normal_concat=[2, 3, 4, 5], | ||||
|   reduce=None, | ||||
| @@ -201,3 +201,13 @@ GDAS_CC = Genotype( | ||||
|   reduce=None, | ||||
|   reduce_concat=range(2, 6) | ||||
| ) | ||||
|  | ||||
| model_types = {'DARTS_V1': DARTS_V1, | ||||
|                'DARTS_V2': DARTS_V2, | ||||
|                'NASNet'  : NASNet, | ||||
|                'PNASNet' : PNASNet,  | ||||
|                'AmoebaNet': AmoebaNet, | ||||
|                'ENASNet' : ENASNet, | ||||
|                'GDAS_V1' : GDAS_V1, | ||||
|                'GDAS_F1' : GDAS_F1, | ||||
|                'GDAS_CC' : GDAS_CC} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user