Skip to content

import error network and basestring missing  #6

@chrysmun

Description

@chrysmun

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions