Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
XceptionNet bug #6501
Exception in thread "main" java.lang.IllegalStateException: Invalid configuration: disconnected vertices found - [block1_conv2_bn, block12_sepconv3_bn, block14_sepconv1_act]. Disconnected vertices are those that do not connect to either another vertex, and are also not a network output. To disable this error (i.e., allow network configurations with disconnected vertices) use GraphBuilder.allowDisconnected(true)
OK, thanks for the code. It looks like this issue is limited to the non-pretrained models.
If you want the pretrained model, use initPretrained(). Otherwise (for non-pretrained) it looks like the config needs to be fixed.
added a commit
Oct 1, 2018
Fixed here: #6504
Once it's merged, you can get the fix using snapshots: https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots
Or, in this case, you can probably just copy the updated model code to a local project (as the changes are isolated to the zoo model class) - https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots