from softmax import Softmax
from mlp import MLP
from cnn import CNN
from kcnn import KCNN
from vae import VAE
from sbn import SBN
from adgm import ADGM
from dadgm import DADGM

try:
  from resnet import Resnet
except:
  print 'WARNING: Could not import the Resnet model'

try:
  from dcgan import DCGAN  
except:
  print 'WARNING: Could not import the DCGAN model'

try:
  from ssadgm import SSADGM
except:
  print 'WARNING: Could not import the SSADGM model'  
@@ -65,30 +65,8 @@
 CNN%0A
-from kcnn import KCNN%0A
 from
@@ -81,16 +81,16 @@
 ort VAE%0A
+
 from sbn
@@ -148,16 +148,78 @@
  DADGM%0A%0A
+# load some models that require the latest version of Lasagne%0A
 try:%0A  f
@@ -432,32 +432,32 @@
  SSADGM%0Aexcept:%0A
-
   print 'WARNING
@@ -494,8 +494,217 @@
 model'  
+%0A%0A# import keras models if we're using the theano backend%0A# (the tensorflow backend will conflict with main theano code)%0Atry:%0A  import keras.backend as K%0A  if K.backend() == 'theano':%0A    from kcnn import KCNN

fix small bug in module loading; verified that dcgan works well