第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

使用dl4j和FCN網(wǎng)絡進行語義分割

使用dl4j和FCN網(wǎng)絡進行語義分割

慕運維8079593 2021-05-06 10:06:45
我已經(jīng)簽出了dl4j示例并執(zhí)行了AnimalsClassification示例來成功進行測試。我必須訓練,評估和預測(使用)像UNet這樣的語義分割算法,因為輸入圖像的大小與FCN的大小不同。并改變了網(wǎng)絡的AnimalsClassification例子UNET從這個鏈接https://github.com/deeplearning4j/deeplearning4j/blob/master/deeplearning4j/deeplearning4j-zoo/src/main/java/org/deeplearning4j/zoo/model/UNet.java但出現(xiàn)錯誤。您能幫我解決這個錯誤嗎?錯誤:SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]19:22:39,951 INFO  ~ Load data....19:22:40,696 INFO  ~ Build model....19:22:41,363 INFO  ~ Loaded [CpuBackend] backend19:22:44,955 INFO  ~ Number of threads used for NativeOps: 219:22:45,555 INFO  ~ Number of threads used for BLAS: 219:22:45,562 INFO  ~ Backend used: [CPU]; OS: [Linux]19:22:45,562 INFO  ~ Cores: [2]; Memory: [1.3GB];19:22:45,562 INFO  ~ Blas vendor: [OPENBLAS]19:22:56,425 WARN  ~ Layer "Layer not named" distribution is set but will not be applied unless weight init is set to WeighInit.DISTRIBUTION.Exception in thread "main" java.lang.IllegalStateException: Invalid configuration: network has no inputs. Use .addInputs(String...) to label    (and give an ordering to) the network inputs    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration.validate(ComputationGraphConfiguration.java:279)    at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.build(ComputationGraphConfiguration.java:918)    at org.deeplearning4j.examples.convolution.AnimalsClassification.graphBuilder(AnimalsClassification.java:443)    at org.deeplearning4j.examples.convolution.AnimalsClassification.run(AnimalsClassification.java:145)    at org.deeplearning4j.examples.convolution.AnimalsClassification.main(AnimalsClassification.java:447)Process finished with exit code 1
查看完整描述

1 回答

?
HUX布斯

TA貢獻1876條經(jīng)驗 獲得超6個贊

它說明堆棧跟蹤中正確的錯誤。您需要在圖形上調(diào)用setInputs。這類似于我們在底部設置輸出的方式。請仔細閱讀錯誤消息。


查看完整回答
反對 回復 2021-05-26
  • 1 回答
  • 0 關注
  • 266 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號