You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[main] INFO ai.djl.util.Platform - Found placeholder platform from: cpu-win-x86_64:2.0.1
[main] INFO ai.djl.pytorch.engine.PtEngine - PyTorch graph executor optimizer is enabled, this may impact your inference latency and throughput. See: https://docs.djl.ai/docs/development/inference_performance_optimization.html#graph-executor-optimization
[main] INFO ai.djl.pytorch.engine.PtEngine - Number of inter-op threads is 6
[main] INFO ai.djl.pytorch.engine.PtEngine - Number of intra-op threads is 6
Exception in thread "main" ai.djl.engine.EngineException: PytorchStreamReader failed reading zip archive: failed finding central directory
at ai.djl.pytorch.jni.PyTorchLibrary.moduleLoad(Native Method)
at ai.djl.pytorch.jni.JniUtils.loadModule(JniUtils.java:1719)
at ai.djl.pytorch.engine.PtModel.load(PtModel.java:92)
at ai.djl.repository.zoo.BaseModelLoader.loadModel(BaseModelLoader.java:161)
at ai.djl.repository.zoo.Criteria.loadModel(Criteria.java:172)
at Testing.main(Testing.java:25)
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
Environment Info
Please run the command ./gradlew debugEnv from the root directory of DJL (if necessary, clone DJL first). It will output information about your system, environment, and installation that can help us debug your issue. Paste the output of the command below:
PASTE OUTPUT HERE
The text was updated successfully, but these errors were encountered:
Description
The documentation here (https://docs.djl.ai/docs/tensorflow/how_to_import_tensorflow_models_in_DJL.html) explains how to make a saved model in .pb format. I am then instructed to load the model (https://docs.djl.ai/docs/load_model.html), but it is looking for a zip archive rather than my .pb file.
Expected Behavior
Identifying .pb file.
Error Message
How to Reproduce?
Ran the following in python:
Then ran this in IntellijIDEA:
I have the following Maven dependencies loaded:
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
Environment Info
Please run the command
./gradlew debugEnv
from the root directory of DJL (if necessary, clone DJL first). It will output information about your system, environment, and installation that can help us debug your issue. Paste the output of the command below:The text was updated successfully, but these errors were encountered: