# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=470

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 471

---

## [Displaying two animations simultaneously](https://discourse.julialang.org/t/displaying-two-animations-simultaneously/32191)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [December 16, 2019, 4:27pm UTC](https://discourse.julialang.org/t/displaying-two-animations-simultaneously/32191 "2019-12-16T16:27:53Z")

</div>

I have managed to create two animation objects, is there an easy way to display these simultaneously? either with animation object created through differential equations solutions anim1 = animate(ode\_sol\_1,kwargs...) a…

---

## [How can I significantly improve the speed of this linear programming problem in JuMP?](https://discourse.julialang.org/t/how-can-i-significantly-improve-the-speed-of-this-linear-programming-problem-in-jump/32125)

<div class="topic-metadata">

**Author:** [@zxjroger](https://discourse.julialang.org/u/zxjroger)\
**Replies:** 12\
**Last updated:** [December 15, 2019, 7:34pm UTC](https://discourse.julialang.org/t/how-can-i-significantly-improve-the-speed-of-this-linear-programming-problem-in-jump/32125 "2019-12-15T19:34:11Z")

</div>

I am doing Bayesian estimation in Julia. For each iteration of Bayesian estimation, there is a for-loop to compute the bounds of some variables in my model. Each bound is computed by a linear programming problem. I am tr…

---

## [Is there a way to explicitly free GPU memory?](https://discourse.julialang.org/t/is-there-a-way-to-explicitly-free-gpu-memory/32266)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 3\
**Last updated:** [December 15, 2019, 5:59pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-explicitly-free-gpu-memory/32266 "2019-12-15T17:59:04Z")

</div>

Hi folks, I’m doing some CUDA coding using CuArrays, CUDAnative and CUDAdrv, in my jupyter notebooks. Since I’m developping, I write and test functions constantly. But then it happens that every now and then I have to r…

---

## [Zygote @adjoint with matrices](https://discourse.julialang.org/t/zygote-adjoint-with-matrices/32188)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 7\
**Last updated:** [December 14, 2019, 1:41pm UTC](https://discourse.julialang.org/t/zygote-adjoint-with-matrices/32188 "2019-12-14T13:41:42Z")

</div>

Hi! I would like to use Zygote, because of the amazing possibility to tag the parameters you want to optimize and let Zygote do the rest. However in my case I am creating a matrix (K) given a (potentially highly neste…

---

## [\[RFC\] Taking directional/orientational statistics seriously](https://discourse.julialang.org/t/rfc-taking-directional-orientational-statistics-seriously/31951)

<div class="topic-metadata">

**Author:** [@sethaxen](https://discourse.julialang.org/u/sethaxen)\
**Replies:** 20\
**Last updated:** [December 13, 2019, 11:30pm UTC](https://discourse.julialang.org/t/rfc-taking-directional-orientational-statistics-seriously/31951 "2019-12-13T23:30:39Z")

</div>

To my knowledge, there are no Julia packages with good support for directional and orientational statistics. Directional statistics is used in biology (especially structural biology), crystallography, astronomy, and vari…

---

## [Probabilistic shaping with flux (Telecommunication)](https://discourse.julialang.org/t/probabilistic-shaping-with-flux-telecommunication/32230)

<div class="topic-metadata">

**Author:** [@Rassibassi](https://discourse.julialang.org/u/Rassibassi)\
**Replies:** 1\
**Last updated:** [December 13, 2019, 7:21pm UTC](https://discourse.julialang.org/t/probabilistic-shaping-with-flux-telecommunication/32230 "2019-12-13T19:21:41Z")

</div>

Hi, trying to implement the following paper: \[1906.07748\] Joint Learning of Geometric and Probabilistic Constellation Shaping already got a working version in TF: https://github.com/Rassibassi/claude/blob/master/example…

---

## [Untracking a Flux Model](https://discourse.julialang.org/t/untracking-a-flux-model/24811)

<div class="topic-metadata">

**Author:** [@mboutros](https://discourse.julialang.org/u/mboutros)\
**Replies:** 10\
**Last updated:** [December 13, 2019, 4:17am UTC](https://discourse.julialang.org/t/untracking-a-flux-model/24811 "2019-12-13T04:17:18Z")

</div>

I’m using Flux to train a model and it’s working wonderfully. After the model has been trained, it’s parameters are still tracked, which means the output of calling the model is tracked. Is there a way to “untrack” each …

---

## [Is it possible to put weights on clusters in MixedModels.jl?](https://discourse.julialang.org/t/is-it-possible-to-put-weights-on-clusters-in-mixedmodels-jl/32216)

<div class="topic-metadata">

**Author:** [@kai](https://discourse.julialang.org/u/kai)\
**Replies:** 0\
**Last updated:** [December 13, 2019, 12:00am UTC](https://discourse.julialang.org/t/is-it-possible-to-put-weights-on-clusters-in-mixedmodels-jl/32216 "2019-12-13T00:00:25Z")

</div>

The package currently supports “case weights” - weights on individual observations. I wonder if there is a way to tweak the code so that I can put weights on clusters? Specifically, the package currently can take a vect…

---

## [MIP starts in JuMP - an example](https://discourse.julialang.org/t/mip-starts-in-jump-an-example/32198)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [December 12, 2019, 5:27pm UTC](https://discourse.julialang.org/t/mip-starts-in-jump-an-example/32198 "2019-12-12T17:27:19Z")

</div>

Dear all, Could anyone provide a simple example of how can I use MIP starts in integer programming in Julia language? I have a problem and a feasible solution, but I cannot to use this solution inside of the CPLEX. Fo…

---

## [Issues with PGFPlotsX / PGFPlots](https://discourse.julialang.org/t/issues-with-pgfplotsx-pgfplots/32083)

<div class="topic-metadata">

**Author:** [@ASF](https://discourse.julialang.org/u/ASF)\
**Replies:** 15\
**Last updated:** [December 12, 2019, 9:05am UTC](https://discourse.julialang.org/t/issues-with-pgfplotsx-pgfplots/32083 "2019-12-12T09:05:51Z")

</div>

I’m trying to recreate this graph using PGFPlotsX but i cannot get it to render an image. I have pdf2svg, imagemagick and latex installed.

---

## [Is there a bug in the flux convolution code?](https://discourse.julialang.org/t/is-there-a-bug-in-the-flux-convolution-code/32169)

<div class="topic-metadata">

**Author:** [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Replies:** 1\
**Last updated:** [December 12, 2019, 8:53am UTC](https://discourse.julialang.org/t/is-there-a-bug-in-the-flux-convolution-code/32169 "2019-12-12T08:53:50Z")

</div>

Apology because this is a vague question, but: is there something wrong with the convolution code in Flux? Looking at the results of this example https://github.com/avik-pal/FastStyleTransfer.jl , they just do not “loo…

---

## [Group DataFrames by a function of a column](https://discourse.julialang.org/t/group-dataframes-by-a-function-of-a-column/32173)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 4\
**Last updated:** [December 11, 2019, 11:29pm UTC](https://discourse.julialang.org/t/group-dataframes-by-a-function-of-a-column/32173 "2019-12-11T23:29:22Z")

</div>

I’m starting to use DataFrames more frequently and find myself often having to create a temporary table and column just to get a transformed column by which to group. For example: julia\> d=DataFrame(x=rand(10^6)); jul…

---

## [Ifelse statement leads to a length(hess\_I) \> 0 AssertionError](https://discourse.julialang.org/t/ifelse-statement-leads-to-a-length-hess-i-0-assertionerror/32139)

<div class="topic-metadata">

**Author:** [@DanielPompermayer](https://discourse.julialang.org/u/DanielPompermayer)\
**Replies:** 3\
**Last updated:** [December 11, 2019, 9:02pm UTC](https://discourse.julialang.org/t/ifelse-statement-leads-to-a-length-hess-i-0-assertionerror/32139 "2019-12-11T21:02:32Z")

</div>

Hey there, I’m new to JuMP but I need to solve an optimization problem which I am not being able to run. Let’s say I have a circumference with a given radius of 5 and such a circumference is built from the a and b comp…

---

## [Stop\_gradient/detach equivalent in flux](https://discourse.julialang.org/t/stop-gradient-detach-equivalent-in-flux/31926)

<div class="topic-metadata">

**Author:** [@Rassibassi](https://discourse.julialang.org/u/Rassibassi)\
**Replies:** 2\
**Last updated:** [December 11, 2019, 8:34pm UTC](https://discourse.julialang.org/t/stop-gradient-detach-equivalent-in-flux/31926 "2019-12-11T20:34:14Z")

</div>

Hi, is there an equivalent to Tensorflow’s stop\_gradient/PyTorch’s detach in FluxML? Thanks! Rasmus

---

## [Autoencoder for telecommunication (Constellation shaping)](https://discourse.julialang.org/t/autoencoder-for-telecommunication-constellation-shaping/30613)

<div class="topic-metadata">

**Author:** [@Rassibassi](https://discourse.julialang.org/u/Rassibassi)\
**Replies:** 4\
**Last updated:** [December 11, 2019, 8:32pm UTC](https://discourse.julialang.org/t/autoencoder-for-telecommunication-constellation-shaping/30613 "2019-12-11T20:32:25Z")

</div>

Hi, in telecommunication one can use a autoencoder-ish structure to learn a channel code/constellation shape. I’ve got a working Tensorflow implementation for constellation shaping, but cannot make it work in Julia. I t…

---

## [Solver-dependent callbacks in JuMP -- How to do it right?](https://discourse.julialang.org/t/solver-dependent-callbacks-in-jump-how-to-do-it-right/32130)

<div class="topic-metadata">

**Author:** [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Replies:** 8\
**Last updated:** [December 11, 2019, 8:21pm UTC](https://discourse.julialang.org/t/solver-dependent-callbacks-in-jump-how-to-do-it-right/32130 "2019-12-11T20:21:11Z")

</div>

Inspired by this answer, I tried to create a small example using the JuMP direct\_model together with solver-specific callbacks. I adapted the knapsack example provided with JuMP to reject solutions using the most efficie…

---

## [Custom layer with new parameters in Flux.jl](https://discourse.julialang.org/t/custom-layer-with-new-parameters-in-flux-jl/32143)

<div class="topic-metadata">

**Author:** [@Antomek](https://discourse.julialang.org/u/Antomek)\
**Replies:** 3\
**Last updated:** [December 11, 2019, 5:32pm UTC](https://discourse.julialang.org/t/custom-layer-with-new-parameters-in-flux-jl/32143 "2019-12-11T17:32:14Z")

</div>

Hello everyone, I am new to Flux, but so far I really like it. I was trying to train a neural network where I wanted to include the gain of the sigmoidal activation functions in the cost function, to penalise small gai…

---

## [Precompiling JuMP and GLPK cause segfaults](https://discourse.julialang.org/t/precompiling-jump-and-glpk-cause-segfaults/31905)

<div class="topic-metadata">

**Author:** [@amca01](https://discourse.julialang.org/u/amca01)\
**Replies:** 4\
**Last updated:** [December 11, 2019, 4:10pm UTC](https://discourse.julialang.org/t/precompiling-jump-and-glpk-cause-segfaults/31905 "2019-12-11T16:10:34Z")

</div>

I’m using Julia 1.2.0. Just now, I tried to install JuMP and GLPK (using Pkg.add), and then tried to use them with using .... The attempt to precompile led to a slew of errors, and a segmentation fault (this is in Linu…

---

## [DataFrame join error](https://discourse.julialang.org/t/dataframe-join-error/32141)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [December 11, 2019, 9:47am UTC](https://discourse.julialang.org/t/dataframe-join-error/32141 "2019-12-11T09:47:31Z")

</div>

I have julia\> timeuse = join(people\[:, \[:idhh, :idpers, :gender\]\], timeuse; on = \[:idhh, :idpers\], kind = :inner) ERROR: DimensionMismatch("destination must have length equal to sums of concatenated vectors") Sta…

---

## [Issue with integration close to 0](https://discourse.julialang.org/t/issue-with-integration-close-to-0/32138)

<div class="topic-metadata">

**Author:** [@Vardges\_Tserunyan](https://discourse.julialang.org/u/Vardges_Tserunyan)\
**Replies:** 1\
**Last updated:** [December 11, 2019, 8:47am UTC](https://discourse.julialang.org/t/issue-with-integration-close-to-0/32138 "2019-12-11T08:47:46Z")

</div>

I am trying to integrate a fairly simple set of linear differential equations. When getting closer to 0, one of the variables in question (x1) starts oscillating going from negative to positive and back. This must be wro…

---

## [HTTP.jl unsupported keyword argument when running on Heroku, but same Docker container works fine on local machine](https://discourse.julialang.org/t/http-jl-unsupported-keyword-argument-when-running-on-heroku-but-same-docker-container-works-fine-on-local-machine/27629)

<div class="topic-metadata">

**Author:** [@milesf](https://discourse.julialang.org/u/milesf)\
**Replies:** 4\
**Last updated:** [December 11, 2019, 4:48am UTC](https://discourse.julialang.org/t/http-jl-unsupported-keyword-argument-when-running-on-heroku-but-same-docker-container-works-fine-on-local-machine/27629 "2019-12-11T04:48:58Z")

</div>

I have a simple Docker container (repo link) that successfully launches on my local machine, but produces a Julia error when I attempt to run it on Heroku. It seems to be complaining that verbose is an unsupported keywor…

---

## [SolveTime() for Multi-Start options](https://discourse.julialang.org/t/solvetime-for-multi-start-options/32065)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 2\
**Last updated:** [December 11, 2019, 2:42am UTC](https://discourse.julialang.org/t/solvetime-for-multi-start-options/32065 "2019-12-11T02:42:42Z")

</div>

Hi all, Is there a way to call solution time for each starting point of the solver? For example, when an NLP solver (e.g. KNITRO) generates 100 different starting points, you get 100 local optimal values (or infeasibil…

---

## [Illustrating a point from a function in p-dimensional space](https://discourse.julialang.org/t/illustrating-a-point-from-a-function-in-p-dimensional-space/31875)

<div class="topic-metadata">

**Author:** [@taqtiqa-mark](https://discourse.julialang.org/u/taqtiqa-mark)\
**Replies:** 7\
**Last updated:** [December 10, 2019, 8:41am UTC](https://discourse.julialang.org/t/illustrating-a-point-from-a-function-in-p-dimensional-space/31875 "2019-12-10T08:41:13Z")

</div>

Are there any ‘pre-built’ utilities for plotting/illustrating a point in p-dimensional space? Specifically, the value returned by a function with p-parameters. I’ve hand sketched an illustration of the point in terms o…

---

## [Unknown error from ForwardDiff](https://discourse.julialang.org/t/unknown-error-from-forwarddiff/32119)

<div class="topic-metadata">

**Author:** [@bdeonovic](https://discourse.julialang.org/u/bdeonovic)\
**Replies:** 1\
**Last updated:** [December 10, 2019, 9:34pm UTC](https://discourse.julialang.org/t/unknown-error-from-forwarddiff/32119 "2019-12-10T21:34:26Z")

</div>

Need some help debugging an error from ForwardDiff. Let me know what additional information would help! ERROR: Stacktrace: \[1\] ≺(::Nothing, ::Type) at C:\\Users\\bdeon\\.julia\\packages\\ForwardDiff\\DVizx\\src\\dual.jl:49 \[…

---

## [Flux & Float 64 + model deconstruction?](https://discourse.julialang.org/t/flux-float-64-model-deconstruction/32048)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 10\
**Last updated:** [December 10, 2019, 6:53pm UTC](https://discourse.julialang.org/t/flux-float-64-model-deconstruction/32048 "2019-12-10T18:53:30Z")

</div>

I’m trying to run my past Flux networks, and have a couple of questions. First, I figured out that with model m and data X, I now find predictions by m(X) instead of the old Tracker.data(m(X)) — great, I like that. Nex…

---

## [Particle Swarm Optimization solver and JuMP?](https://discourse.julialang.org/t/particle-swarm-optimization-solver-and-jump/32025)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 2\
**Last updated:** [December 10, 2019, 6:58am UTC](https://discourse.julialang.org/t/particle-swarm-optimization-solver-and-jump/32025 "2019-12-10T06:58:37Z")

</div>

Hello, I would like to solve a non linear optimisation problem which is non smooth. I programmed the problem with JuMP and I tried to solve it with Ipopt solver. However, Ipopt is not able to solve it. I had a look abou…

---

## [How to build a bidirectional RNN with Flux?](https://discourse.julialang.org/t/how-to-build-a-bidirectional-rnn-with-flux/32021)

<div class="topic-metadata">

**Author:** [@Rana\_Ian](https://discourse.julialang.org/u/Rana_Ian)\
**Replies:** 1\
**Last updated:** [December 10, 2019, 6:31am UTC](https://discourse.julialang.org/t/how-to-build-a-bidirectional-rnn-with-flux/32021 "2019-12-10T06:31:15Z")

</div>

Hi, How would you build a bidirectional RNN with Flux? Drawing from a few examples Bidirectional LSTM example A Bidirectional LSTM example B Knet bidirectional RNN source I’ve written using Pkg; for p in \["Flux"\] Pk…

---

## [Addprocs() on remote machines failing](https://discourse.julialang.org/t/addprocs-on-remote-machines-failing/29999)

<div class="topic-metadata">

**Author:** [@healyp](https://discourse.julialang.org/u/healyp)\
**Replies:** 6\
**Last updated:** [December 9, 2019, 4:01pm UTC](https://discourse.julialang.org/t/addprocs-on-remote-machines-failing/29999 "2019-12-09T16:01:39Z")

</div>

I would like to spawn some jobs on a cluster of linux machines. The machines are configured a little differently to my own so I need to specify where the julia executable is and the username when ssh’ing into them. …

---

## [Need help with prod() or any custom function with JuMP](https://discourse.julialang.org/t/need-help-with-prod-or-any-custom-function-with-jump/31962)

<div class="topic-metadata">

**Author:** [@Xentios](https://discourse.julialang.org/u/Xentios)\
**Replies:** 7\
**Last updated:** [December 9, 2019, 12:14pm UTC](https://discourse.julialang.org/t/need-help-with-prod-or-any-custom-function-with-jump/31962 "2019-12-09T12:14:36Z")

</div>

All I want is to be able to run an optimization which can use prod() or any custom function i can make. I tried everything normal and NL objectives, constraints vs… Ipopt optimizer does what i want but it does with fl…

---

## [Plot Labels](https://discourse.julialang.org/t/plot-labels/32019)

<div class="topic-metadata">

**Author:** [@martingalemeasure](https://discourse.julialang.org/u/martingalemeasure)\
**Replies:** 3\
**Last updated:** [December 8, 2019, 6:18pm UTC](https://discourse.julialang.org/t/plot-labels/32019 "2019-12-08T18:18:46Z")

</div>

When I run plot(\[1,2,3\], labels=\["abc"\]) The chart shows a legend with — \[“abc”\] instead of — abc.

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=469)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=471)
