Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Abram Van Der Geest
    @abramvandergeest
    welcome all!
    Matt Ellis
    @mellistibco
    :wave:
    Abram Van Der Geest
    @abramvandergeest
    :wave:
    crmadrig
    @crmadrig

    Hi, im currently working through the streamingOutlier example in the ML repo for project/flogo. Im getting two errors, the first one comes in stage 0:
    Received result: &runner.ActionResult{results:map[string]interface {}(nil), err:error(nil)}.

    While the other one comes in stage 2: Pipeline[] - Execution failed - Error: failed to resolve variable: 'result' in scope.

    Any ideas? This is being run with the model outputed by the dnn_outlier notebook.

    Abram Van Der Geest
    @abramvandergeest
    Hi, I will take a look at it. if you have the chance to share the flogo.json you are using I would appreciate it.
    crmadrig
    @crmadrig
    That’s the generated flogo.json file. Thanks!
    Abram Van Der Geest
    @abramvandergeest
    okay @crmadrig I think your first problem is that that model file might be miss named, check that line 168 has "model":NAME OF THE ARCHIVE FILE, you have it listed as Archive_outlier.zip
    I am looking further into the remaining errors (I got another error when I changed the model name)
    Abram Van Der Geest
    @abramvandergeest
    okay so I have fixed your first problem, like I said above the model name needs to be correct, this created another issue (I hadn't pushed a needed change to addDim to github) so you will then need to run flogo update github.com/abramvandergeest/addDimension
    the second issue is with the outlierlog activity, if you don't need visualization of the outputs then just delete that activity and you are fine
    Abram Van Der Geest
    @abramvandergeest
    okay I have gotten it to run without problems on my end
    the problem : "While the other one comes in stage 2: Pipeline[] - Execution failed - Error: failed to resolve variable: 'result' in scope." was because the wrong model name is probably being used/the addDim activity needs to be updated
    the problem: "Received result: &runner.ActionResult{results:map[string]interface {}(nil), err:error(nil)}." was resolved for me when I fixed your connection string for the outlierdatalog to point to my postgres data base
    I hope that helps
    crmadrig
    @crmadrig
    Hey Bram, just an update that doing the update on the addDimension activity was the issue and that fixed the example. Thanks!
    Abram Van Der Geest
    @abramvandergeest
    @crmadrig Awesome! sorry about the bug
    balamg
    @balamg
    While running the example demos/imageprocess I get an error unsupported Operation:resize. I used the same main program as the one in golangWOTrigger and pointed it to this example cml and modified its inputs accordingly. Is this a configuration issue, or??
    Abram Van Der Geest
    @abramvandergeest
    @skothari-tibco I looked and resize is registered in the image_processing.go file do you have any suggestions?
    @balamg - can you share your json and your go.mod? it is possible that the go.mod is pointing to an earlier version of catalystml-flogo
    Samip Kothari
    @skothari-tibco
    Can you make sure that the package “github.com/project-flogo/catalysml-flogo/operations/image_processing” is imported ?
    Abram Van Der Geest
    @abramvandergeest
    That is probably the issue, the go_wo_trigger example was originally an NLP example so it has "github.com/project-flogo/cml/operations/string_processing" - it should eb changed to "github.com/project-flogo/cml/operations/image_processing"
    Samip Kothari
    @skothari-tibco
    *catalystml-flogo.
    Abram Van Der Geest
    @abramvandergeest
    :thumbsup:
    balamg
    @balamg
    after doing that, I get # github.com/project-flogo/catalystml-flogo/operations/image_processing ../../../../go/pkg/mod/github.com/project-flogo/catalystml-flogo/operations/image_processing@v0.0.0-20191106005757-995bf9ac2dd3/image_processing.go:7:2: resize redeclared as imported package name previous declaration at ../../../../go/pkg/mod/github.com/project-flogo/catalystml-flogo/operations/image_processing@v0.0.0-20191106005757-995bf9ac2dd3/image_processing.go:5:2 ../../../../go/pkg/mod/github.com/project-flogo/catalystml-flogo/operations/image_processing@v0.0.0-20191106005757-995bf9ac2dd3/image_processing.go:14:26: undefined: grayscale
    I cleaned up the modules cache, just to get rid of conflicts if any, so it downloaded all the deps again, and still the same error as above
    Samip Kothari
    @skothari-tibco
    There is an issue w.r.t the package name. I have created a PR to fix it, @abramvandergeest can review it and then you can try it again.
    Abram Van Der Geest
    @abramvandergeest
    i have reviewed and merged it - it should be available now
    balamg
    @balamg
    post update, similar one for math/normalize/operation : strings redeclared..
    Abram Van Der Geest
    @abramvandergeest
    turns out the strings package was defined twice in normalize - a PR has been put in and waiting for Samip to approve it (it has other things in it too so it might take a little bit)
    Abram Van Der Geest
    @abramvandergeest
    okay the new PR has been merged - and thanks for being the first external person to test some of these examples
    balamg
    @balamg
    ok, it works now, however there are a few more compilation errors in that package (unrelated) just fyi
    Samip Kothari
    @skothari-tibco
    Like?
    balamg
    @balamg
    running go build ./... from catalystl-flogo folder or for example running go test ./...from operations folder etc.
    Abram Van Der Geest
    @abramvandergeest
    so the catalystml-flogo isn't setup to be built or run like that, catalystml-flogo isn't an application it is a series of packages that are called as a library
    Samip Kothari
    @skothari-tibco
    I think go test should work. I did try that it works at some places. I will look into it more. Thanks