Error of ImageDirectoryLoader in KnowledgeFlow

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error of ImageDirectoryLoader in KnowledgeFlow

KoreaWekaUser
This post was updated on .
When launching wekadeeplearning4j 1.7.1, I tested dl4j classifier with kaggle
plant images.
I should make label arff file in KnowledgeFlow with ImageDirectoryLoader .
But I found that some error occur when clicking ImageDirectoryLoader for
setting the configuration of image path in KnowledgeFlow.

I think it should be fixed when launching weka 3.8.6. probably the end of
2021.

I attached the error screen shot below.
<https://weka.8497.n7.nabble.com/file/t7064/ImageDiectoryILoader_error_in_kf.png

And I wrote the full error message in command prompt below.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        java.desktop/java.awt.Container.addImpl(Unknown Source)
        java.desktop/java.awt.Container.add(Unknown Source)
       
weka.gui.knowledgeflow.GOEStepEditorDialog.addPrimaryEditorPanel(GOEStepEditorDialog.java:148)
       
weka.gui.knowledgeflow.GOEStepEditorDialog.setStepToEdit(GOEStepEditorDialog.java:89)
       
weka.gui.knowledgeflow.steps.LoaderStepEditorDialog.setStepToEdit(LoaderStepEditorDialog.java:70)
       
weka.gui.knowledgeflow.LayoutPanel.popupStepEditorDialog(LayoutPanel.java:1255)
       
weka.gui.knowledgeflow.LayoutPanel$1.mouseClicked(LayoutPanel.java:201)
        java.desktop/java.awt.AWTEventMulticaster.mouseClicked(Unknown
Source)
        java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        java.desktop/javax.swing.JComponent.processMouseEvent(Unknown
Source)
        java.desktop/java.awt.Component.processEvent(Unknown Source)
        java.desktop/java.awt.Container.processEvent(Unknown Source)
        java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
       
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
       
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source)
        java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown
Source)
        java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        java.base/java.security.AccessController.doPrivileged(Native Method)
       
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
       
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
        java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        java.base/java.security.AccessController.doPrivileged(Native Method)
       
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
        java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
       
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
       
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
       
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

        at java.desktop/java.awt.Container.addImpl(Unknown Source)
        at java.desktop/java.awt.Container.add(Unknown Source)
        at
weka.gui.knowledgeflow.GOEStepEditorDialog.addPrimaryEditorPanel(GOEStepEditorDialog.java:148)
        at
weka.gui.knowledgeflow.GOEStepEditorDialog.setStepToEdit(GOEStepEditorDialog.java:89)
        at
weka.gui.knowledgeflow.steps.LoaderStepEditorDialog.setStepToEdit(LoaderStepEditorDialog.java:70)
        at
weka.gui.knowledgeflow.LayoutPanel.popupStepEditorDialog(LayoutPanel.java:1255)
        at
weka.gui.knowledgeflow.LayoutPanel$1.mouseClicked(LayoutPanel.java:201)
        at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(Unknown
Source)
        at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
        at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown
Source)
        at java.desktop/java.awt.Component.processEvent(Unknown Source)
        at java.desktop/java.awt.Container.processEvent(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
        at
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source)
        at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown
Source)
        at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown
Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native
Method)
        at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
        at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native
Method)
        at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
Source)
        at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown
Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)





--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- wekalist@list.waikato.ac.nz
Send posts to wekalist@list.waikato.ac.nz
To unsubscribe send an email to wekalist-leave@list.waikato.ac.nz
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html