We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code
string imgModelPath = System.IO.Path.Combine(assemblyDirectory, "models\\img\\" + "saved_model.pb"); // Load Image AI await Task.Run(() => ImgAI.StartAI(imgModelPath));
public static async Task StartAI(string modelPath) { try { // Load the pre-trained model graph = new TFGraph(); graph.Import(File.ReadAllBytes(modelPath)); } catch (Exception ex) { // Handle the exception (log, display a message, etc.) MessageBox.Show($"Exception: {ex.Message}"); } }
used Model https://www.kaggle.com/models/deepmind/biggan/frameworks/TensorFlow1/variations/128/versions/2
Expected behavior I expect that the model will load but i get an error insted.
Screenshots
Desktop
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Code
used Model
https://www.kaggle.com/models/deepmind/biggan/frameworks/TensorFlow1/variations/128/versions/2
Expected behavior
I expect that the model will load but i get an error insted.
Screenshots
Desktop
The text was updated successfully, but these errors were encountered: