Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running classification #14

Open
d3netxer opened this issue Feb 18, 2019 · 2 comments
Open

error when running classification #14

d3netxer opened this issue Feb 18, 2019 · 2 comments

Comments

@d3netxer
Copy link

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
@alexbruy
Copy link

alexbruy commented Mar 21, 2019

Confirmed. Happens with the latest available version 3.4.2

@nkarasiak
Copy link
Owner

Hi,
Can you tell me :

  1. if it happens with the demo dataset (https://github.com/lennepkade/dzetsaka/archive/docs.zip)
  2. if it happens with GMM. If so, please try with knn or rf and let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants