deepjavalibrary / djl

An Engine-Agnostic Deep Learning Framework in Java
https://djl.ai
Apache License 2.0
4.05k stars 648 forks source link

DJL Model View crashes on some Model Tabs. #596

Closed anfee1 closed 3 years ago

anfee1 commented 3 years ago

Description

When picking almost any model on the ModelView page and you click the Synset tab the model view page will crash. Refreshing the page is the only way to get the page back to a usable state.

Expected Behavior

Expected behavior would be either not showing the tab at all or showing that the current attribute isn't being used.

How to Reproduce?

(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)

Steps to reproduce

(Paste the commands you ran that produced the error.)

  1. In your terminal go into the central folder(cd central ). Then run gradle( ,/gradlew). 2.Go to http://localhost:8080/ in your web browser. 3.Click CV.ACTION_RECOGNITION

4.Click inceptionv3_ucf101

image

5.Then press the synset tab.

image

Fix ...... Coming soon.

anfee1 commented 3 years ago
image

After clicking synset:

image