簡體   English   中英

無法在 Visual Studio 中導入已安裝的 package c#

[英]can't import an installed package c# in visual studio

(Sorry for my bad english) I am working on a unity 2019 project and I created a model.h5 file with keras in python and I want to load this model in visual stusio C# with Kera.NET package

我成功安裝了 Keras.NET

安裝 Keras.NET package.png

但是當我嘗試使用 Keras error.png在我的代碼中導入它時出現此錯誤

重力代碼說明 Projet Fichier Ligne État de la suppressing Erreur CS0246 Le nom de type ou d'espace de noms 'Keras' est introuvable (vous manque-t-il une directive using ou une référence d'assembly ?) Assembly-CSharp C: \Users\asus\Documents\Unity 2019 Projects\Kinect test\Assets\Scripts\Keras_Test.cs 2 Actif

這意味着 Keras 無法識別

感謝幫助

我終於解決了問題

在我的 Visual Studio 2019 版本中,當我右鍵單擊“Assembly-CSharp.csproj\Reference”時,我沒有找到“添加引用”我確實右鍵單擊“項目”選項卡,然后“添加引用”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM