Commit fd09e148 authored by danielkisov's avatar danielkisov
Browse files

editing generation tests

parent 89f70ca9
Pipeline #465592 passed with stage
in 1 minute and 18 seconds
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_Alexnet import Net_0
......@@ -186,3 +187,7 @@ class CNNCreator_Alexnet:
output_domains = (float,0.0,1.0,)
outputs["predictions_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_CifarClassifierNetwork import Net_0
......@@ -186,3 +187,7 @@ class CNNCreator_CifarClassifierNetwork:
output_domains = (float,0.0,1.0,)
outputs["softmax_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_EpisodicMemoryNetwork import Net_0
......@@ -187,3 +188,7 @@ class CNNCreator_EpisodicMemoryNetwork:
output_domains = (float,0.0,1.0,)
outputs["softmax_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_LoadNetworkTest import Net_0
......@@ -186,3 +187,7 @@ class CNNCreator_LoadNetworkTest:
output_domains = (float,0.0,1.0,)
outputs["softmax_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_VGG16 import Net_0
......@@ -186,3 +187,7 @@ class CNNCreator_VGG16:
output_domains = (float,0.0,1.0,)
outputs["predictions_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
......@@ -11,6 +11,7 @@ if __name__ == "__main__":
logger.addHandler(handler)
emptyConfig_creator = CNNCreator_emptyConfig.CNNCreator_emptyConfig()
emptyConfig_creator.validate_parameters()
emptyConfig_loader = CNNDataLoader_emptyConfig.CNNDataLoader_emptyConfig()
emptyConfig_trainer = CNNSupervisedTrainer_emptyConfig.CNNSupervisedTrainer_emptyConfig(
emptyConfig_loader,
......
......@@ -11,6 +11,7 @@ if __name__ == "__main__":
logger.addHandler(handler)
fullConfig_creator = CNNCreator_fullConfig.CNNCreator_fullConfig()
fullConfig_creator.validate_parameters()
fullConfig_loader = CNNDataLoader_fullConfig.CNNDataLoader_fullConfig()
fullConfig_trainer = CNNSupervisedTrainer_fullConfig.CNNSupervisedTrainer_fullConfig(
fullConfig_loader,
......
......@@ -11,6 +11,7 @@ if __name__ == "__main__":
logger.addHandler(handler)
simpleConfig_creator = CNNCreator_simpleConfig.CNNCreator_simpleConfig()
simpleConfig_creator.validate_parameters()
simpleConfig_loader = CNNDataLoader_simpleConfig.CNNDataLoader_simpleConfig()
simpleConfig_trainer = CNNSupervisedTrainer_simpleConfig.CNNSupervisedTrainer_simpleConfig(
simpleConfig_loader,
......
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_CriticNetwork import Net_0
......@@ -189,3 +190,7 @@ class CNNCreator_CriticNetwork:
output_domains = (float,float('-inf'),float('inf'),)
outputs["qvalues_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_Discriminator import Net_0
......@@ -186,3 +187,7 @@ class CNNCreator_Discriminator:
output_domains = (float,0.0,1.0,)
outputs["dis_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_InfoDiscriminator import Net_0
......@@ -189,3 +190,7 @@ class CNNCreator_InfoDiscriminator:
output_domains = (float,0.0,float('inf'),)
outputs["features_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import os
import shutil
import warnings
import inspect
import sys
from CNNNet_InfoQNetwork import Net_0
......@@ -186,3 +187,7 @@ class CNNCreator_InfoQNetwork:
output_domains = (float,0.0,1.0,)
outputs["c1_"] = output_domains + (output_dimensions,)
return outputs
def validate_parameters(self):
pass
......@@ -4,6 +4,7 @@ import math
import os
import abc
import warnings
import sys
from mxnet import gluon, nd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment