You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the code would only run when in every file the import would be
from network.network import Network
(double network, once for the folder, once for the network.py)
so something with the packaging doesnt work?
network.py - the basestring is never defined and it crashes, yet the code also crashes if either of the decision paths are taken.
if isinstance(fed_layer, basestring):
try:
fed_layer = self.layers[fed_layer]
except KeyError:
raise KeyError('Unknown layer name fed: %s' % fed_layer)
self.terminals.append(fed_layer)
The text was updated successfully, but these errors were encountered:
the code would only run when in every file the import would be
from network.network import Network
(double network, once for the folder, once for the network.py)
so something with the packaging doesnt work?
network.py - the basestring is never defined and it crashes, yet the code also crashes if either of the decision paths are taken.
if isinstance(fed_layer, basestring):
try:
fed_layer = self.layers[fed_layer]
except KeyError:
raise KeyError('Unknown layer name fed: %s' % fed_layer)
self.terminals.append(fed_layer)
The text was updated successfully, but these errors were encountered: