Re: Tensorflow contrib loss functions ported to mxnet
Thanks for the feedback, I was planning to add an example as well for each loss, possibly an extension to the current embedding learning gluon example. The forgotten PR is https://github.com/apache/incubator-mxnet/pull/13632 On Thu, Jan 10, 2019 at 12:40 AM Hagay Lupesko wrote: > Istavan, > > This sounds useful to me, and would encourage you to contribute it. > It's always helpful if you describe one or two use cases for the > contribution (e.g. models/problems where these loss functions are useful) - > this stimulates interest. > > Can you share the link to the PR that got zero attention? I'm happy to > help. > > Hagay > > On Thu, Jan 3, 2019 at 9:52 AM István Fehérvári wrote: > > > Hello developers, > > > > > > > > I am working on metric learning currently and so I ported all tensorflow > > metric learning loss functions to mxnet (gluon) ( > > > > > https://www.tensorflow.org/api_docs/python/tf/contrib/losses/metric_learning > > ). > > > > Before I put some work into making it PR-able, is there any interest in > an > > mxnet (contrib) loss module or I should not bother trying to merge it? > > > > > > > > The reason I ask is that I see that we have a LOT of open PRs that get 0 > > attention and I do not want to invest time into a feature that will never > > make it. E.g. my last PR on a new operator was opened ~3 weeks ago and > > still no review or comment. > > > > > > > > Thanks a lot, > > > > Istvan > > >
legacy model gallery
Hello, Does anyone know how these models were trained? https://github.com/dmlc/mxnet-model-gallery/blob/master/imagenet-1k-inception-bn.md I am trying to use the inception-bn model but it seems the inputs were not normalized to [0..1] (I get better results without), no idea about mean and std though. Thanks! Istvan
joining slack channel
Please add me to the slack channel. Thank you, Istvan
Re: Running CI for doc changes
I sorta got a simple skipping logic working however there seems to be a problem I cannot solve. In order to figure out whether an effecting change has happened I need a list of all commits in the PR and all the files in it. Unfortunately, currentBuild.changeSets returns data only about the head commit of the PR since jenkins assembles the build that way. It is even noted in the log after the merge of the master branch (First time build. Skipping changelog.) Does anyone have any idea how to retrieve all the commits in the PR? Also I naively thought that .md files can be skipped for the non-website pipelines however I was told that some of those files are indeed used for generating code. So for an effective strategy we need to understand what can be skipped in what cases: Marco mentioned language changes (R, scala) which I can add, any other ideas about strategies? Also I would like to document the strategies before coding them into a wiki of some sort, but not sure where I am supposed to do that (write access?). Thanks, for the help! Best, Istvan On Thu, Jan 3, 2019 at 2:18 PM István Fehérvári wrote: > Hello Marco, > > Your idea is very much in line how I was imaging it. I will try to come up > with a prototype around this idea then we can continue the discussion about > specifics. > > Best, > Istvan > > On Thu, Jan 3, 2019 at 11:43 AM Marco de Abreu > wrote: > >> Hello István, >> >> thanks for your interest and for offering your assistance! This is >> definitely a great idea and I think it has been mentioned a few times, but >> nobody jumped on it yet. We would be very happy to assist you on these >> efforts. >> >> As far as I can tell, it would boil down to having some kind of custom >> groovy function that we could call within our Jenkinsfile pipelines. This >> function would then determine whether that specific job/node should run or >> not. This could have two granularity levels: >> 1. Run or skip whole Jenkins job >> 2. Run or skip Jenkins node >> >> To clarify the terminology: Each entry (e.g. windows-cpu) at [1] (sourced >> from [2]) is a Jenkins job. Each Jenkins job can contain multiple stages >> (irrelevant here) and each stage contains one or more nodes. One green >> circle here [3] (e.g. Python 3: CPU Win) represents a node. >> >> #1 would be your example use case. In case of a doc change, we would skip >> our unit test pipelines while the website pipeline would still be >> executed. >> #2 would be language specific changes, for example. Imagine a change to >> the >> Scala code. This would require all Scala and Clojure jobs to re-run, but >> there would be no need to run R, Julia or Python, for example. >> >> One thought how to do this would be to define a mapping that would contain >> the "watched" directories for a particular Jenkins job or node. Before a >> job or node is triggered, it could then evaluate the previously mentioned >> function to determine whether any file within that mapping has changed. >> >> If you have any further questions or would like to discuss a design >> proposal, please don't hesitate to reach out to us again :) >> >> Best regards, >> Marco >> >> [1]: http://jenkins.mxnet-ci.amazon-ml.com/job/mxnet-validation/ >> [2]: https://github.com/apache/incubator-mxnet/tree/master/ci/jenkins >> [3]: >> >> http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-cpu/detail/master/150/ >> >> On Thu, Jan 3, 2019 at 7:22 PM István Fehérvári wrote: >> >> > Hello developers, >> > >> > I recently opened a PR about a very small documentation change ( >> > https://github.com/apache/incubator-mxnet/pull/13766) and I see it >> > triggered the whole CI pipeline which is as far as I know very expensive >> > and obviously unnecessary. >> > >> > Are there any efforts to script this behavior in a way to avoid >> triggering >> > CI when there is no code change in the PR? I am happy to help if there >> is >> > interest. >> > >> > Best, >> > Istvan >> > >> >
Re: Running CI for doc changes
Hello Marco, Your idea is very much in line how I was imaging it. I will try to come up with a prototype around this idea then we can continue the discussion about specifics. Best, Istvan On Thu, Jan 3, 2019 at 11:43 AM Marco de Abreu wrote: > Hello István, > > thanks for your interest and for offering your assistance! This is > definitely a great idea and I think it has been mentioned a few times, but > nobody jumped on it yet. We would be very happy to assist you on these > efforts. > > As far as I can tell, it would boil down to having some kind of custom > groovy function that we could call within our Jenkinsfile pipelines. This > function would then determine whether that specific job/node should run or > not. This could have two granularity levels: > 1. Run or skip whole Jenkins job > 2. Run or skip Jenkins node > > To clarify the terminology: Each entry (e.g. windows-cpu) at [1] (sourced > from [2]) is a Jenkins job. Each Jenkins job can contain multiple stages > (irrelevant here) and each stage contains one or more nodes. One green > circle here [3] (e.g. Python 3: CPU Win) represents a node. > > #1 would be your example use case. In case of a doc change, we would skip > our unit test pipelines while the website pipeline would still be executed. > #2 would be language specific changes, for example. Imagine a change to the > Scala code. This would require all Scala and Clojure jobs to re-run, but > there would be no need to run R, Julia or Python, for example. > > One thought how to do this would be to define a mapping that would contain > the "watched" directories for a particular Jenkins job or node. Before a > job or node is triggered, it could then evaluate the previously mentioned > function to determine whether any file within that mapping has changed. > > If you have any further questions or would like to discuss a design > proposal, please don't hesitate to reach out to us again :) > > Best regards, > Marco > > [1]: http://jenkins.mxnet-ci.amazon-ml.com/job/mxnet-validation/ > [2]: https://github.com/apache/incubator-mxnet/tree/master/ci/jenkins > [3]: > > http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Fwindows-cpu/detail/master/150/ > > On Thu, Jan 3, 2019 at 7:22 PM István Fehérvári wrote: > > > Hello developers, > > > > I recently opened a PR about a very small documentation change ( > > https://github.com/apache/incubator-mxnet/pull/13766) and I see it > > triggered the whole CI pipeline which is as far as I know very expensive > > and obviously unnecessary. > > > > Are there any efforts to script this behavior in a way to avoid > triggering > > CI when there is no code change in the PR? I am happy to help if there is > > interest. > > > > Best, > > Istvan > > >
Running CI for doc changes
Hello developers, I recently opened a PR about a very small documentation change ( https://github.com/apache/incubator-mxnet/pull/13766) and I see it triggered the whole CI pipeline which is as far as I know very expensive and obviously unnecessary. Are there any efforts to script this behavior in a way to avoid triggering CI when there is no code change in the PR? I am happy to help if there is interest. Best, Istvan
Tensorflow contrib loss functions ported to mxnet
Hello developers, I am working on metric learning currently and so I ported all tensorflow metric learning loss functions to mxnet (gluon) ( https://www.tensorflow.org/api_docs/python/tf/contrib/losses/metric_learning ). Before I put some work into making it PR-able, is there any interest in an mxnet (contrib) loss module or I should not bother trying to merge it? The reason I ask is that I see that we have a LOT of open PRs that get 0 attention and I do not want to invest time into a feature that will never make it. E.g. my last PR on a new operator was opened ~3 weeks ago and still no review or comment. Thanks a lot, Istvan