dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
265 stars 56 forks source link

ImageClassification can't load resnet_v2_50_299.meta #2944

Open thisIsDeadCode opened 3 months ago

thisIsDeadCode commented 3 months ago

System information Windows 10 .NET Core 8

Issue Can't load from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta

MLModel1-8YOWOG.txt

image

Set log file path to C:\Users\PCZONE.GE\AppData\Local\Temp\MLVSTools\logs\MLModel1-8YOWOG.txt restore "c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\modelbuilder\AutoMLService\RuntimeManager\tensorflow.gpu.csproj" --configfile "c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\modelbuilder\AutoMLService\RuntimeManager\NuGet.config" -r win-x64 /p:UsingToolXliff=false /p:TorchSharpVersion=0.101.5 /p:TorchSharpCudaRuntimeVersion=2.1.0.1 /p:TensorflowRuntimeVersion=2.3.1 /p:BaseIntermediateOutputPath="C:\Users\PCZONE.GE\AppData\Local\ModelBuilder\tensorflow-cuda.2.3.1\obj" publish "c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\modelbuilder\AutoMLService\RuntimeManager\tensorflow.gpu.csproj" -r win-x64 -c Release --no-self-contained -o "C:\Users\PCZONE.GE\AppData\Local\ModelBuilder\tensorflow-cuda.2.3.1" --no-restore /p:UsingToolXliff=false /p:TorchSharpVersion=0.101.5 /p:TorchSharpCudaRuntimeVersion=2.1.0.1 /p:TensorflowRuntimeVersion=2.3.1 /p:BaseOutputPath="C:\Users\PCZONE.GE\AppData\Local\ModelBuilder\tensorflow-cuda.2.3.1\bin\" /p:BaseIntermediateOutputPath="C:\Users\PCZONE.GE\AppData\Local\ModelBuilder\tensorflow-cuda.2.3.1\obj\" start installing runtime in C:\Users\PCZONE.GE\AppData\Local\ModelBuilder\tensorflow-cuda.2.3.1

Welcome to .NET 8.0!

SDK Version: 8.0.300

Telemetry

The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry


Installed an ASP.NET Core HTTPS development certificate. To trust the certificate, run 'dotnet dev-certs https --trust' Learn about HTTPS: https://aka.ms/dotnet-https


Write your first app: https://aka.ms/dotnet-hello-world Find out what's new: https://aka.ms/dotnet-whats-new Explore documentation: https://aka.ms/dotnet-docs Report issues and find source on GitHub: https://github.com/dotnet/core Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli

Determining projects to restore... Restored c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\modelbuilder\AutoMLService\RuntimeManager\tensorflow.gpu.csproj (in 660 ms). tensorflow.gpu -> C:\Users\PCZONE.GE\AppData\Local\ModelBuilder\tensorflow-cuda.2.3.1\bin\Release\netstandard2.0\win-x64\tensorflow.gpu.dll tensorflow.gpu -> C:\Users\PCZONE.GE\AppData\Local\ModelBuilder\tensorflow-cuda.2.3.1\ install runtime successfully [Source=AutoMLExperiment-ChildContext, Kind=Trace] [Source=ImageClassificationTrainer; ImageClassificationTrainer, Kind=Trace] Channel started [Source=AutoMLExperiment-ChildContext, Kind=Trace] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Trace] Channel started [Source=AutoMLExperiment-ChildContext, Kind=Info] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Info] Downloading resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta to C:\Users\PCZONE.GE\AppData\Local\Temp\MLNET\resnet_v2_50_299.meta [Source=AutoMLExperiment-ChildContext, Kind=Warning] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Warning] 1 - th try: Dowload resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta fail with exception One or more errors occurred. (Object synchronization method was called from an unsynchronized block of code.) [Source=AutoMLExperiment-ChildContext, Kind=Info] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Info] Downloading resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta to C:\Users\PCZONE.GE\AppData\Local\Temp\MLNET\resnet_v2_50_299.meta [Source=AutoMLExperiment-ChildContext, Kind=Warning] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Warning] 2 - th try: Dowload resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta fail with exception One or more errors occurred. (The wait completed due to an abandoned mutex.) [Source=AutoMLExperiment-ChildContext, Kind=Info] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Info] Downloading resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta to C:\Users\PCZONE.GE\AppData\Local\Temp\MLNET\resnet_v2_50_299.meta [Source=AutoMLExperiment, Kind=Info] cancel training because cancellation token is invoked... [Source=AutoMLExperiment-ChildContext, Kind=Warning] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Warning] 3 - th try: Dowload resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta fail with exception One or more errors occurred. (The wait completed due to an abandoned mutex.) [Source=AutoMLExperiment-ChildContext, Kind=Info] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Info] Downloading resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta to C:\Users\PCZONE.GE\AppData\Local\Temp\MLNET\resnet_v2_50_299.meta [Source=AutoMLExperiment-ChildContext, Kind=Warning] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Warning] 4 - th try: Dowload resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta fail with exception One or more errors occurred. (The wait completed due to an abandoned mutex.) [Source=AutoMLExperiment-ChildContext, Kind=Info] [Source=ImageClassificationTrainer; Ensuring meta files are present., Kind=Info] Downloading resnet_v2_50_299.meta from https://aka.ms/mlnet-resources/meta/resnet_v2_50_299.meta to C:\Users\PCZONE.GE\AppData\Local\Temp\MLNET\resnet_v2_50_299.meta

hannespreishuber commented 3 months ago

same here, have already been an issue back in 2021