dzetsaka
dzetsaka copied to clipboard
error when running classification
This is the error I am receiving:
2019-02-18T16:28:21 1 Traceback (most recent call last):
File "/Users/user/.qgis2/python/plugins/dzetsaka/dzetsaka.py", line 1114, in runMagic
temp.initPredict(inRaster,model,outRaster,inMask,confidenceMap,inClassifier)
File "/Users/user/.qgis2/python/plugins/dzetsaka/scripts/mainfunction.py", line 314, in initPredict
predictedImage=self.predict_image(inRaster,outRaster,tree,inMask,confidenceMap,-10000,SCALE=[M,m],classifier=classifier)
UnboundLocalError: local variable 'tree' referenced before assignment
Confirmed. Happens with the latest available version 3.4.2
Hi, Can you tell me :
- if it happens with the demo dataset (https://github.com/lennepkade/dzetsaka/archive/docs.zip)
- if it happens with GMM. If so, please try with knn or rf and let me know.