Assign requires shapes of both tensors to match. lhs shape= [32] rhs shape= [64]

Assign requires shapes of both tensors to match. lhs shape= [32] rhs shape= [64]

這是關於一個人臉評分項目中出現的錯誤,原因是因爲這模型中訓練和測試的時候網絡的參數是不一致的導致的,下面是原來的項目中的網絡結構:由於兩個網絡結構是不一致的所以應該修改爲一致的網絡結構



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章