# Specific Domains

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

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

**Page:** 344

---

## [Flux.jl: params() and gradient() ocnfusion](https://discourse.julialang.org/t/flux-jl-params-and-gradient-ocnfusion/66775)

<div class="topic-metadata">

**Author:** [@Alex-ZA](https://discourse.julialang.org/u/Alex-ZA)\
**Replies:** 4\
**Last updated:** [August 23, 2021, 4:13pm UTC](https://discourse.julialang.org/t/flux-jl-params-and-gradient-ocnfusion/66775 "2021-08-23T16:13:04Z")

</div>

Hello everyone, I apologise if this is not the area to ask Flux questions. If not, please direct to the correct place. I have been going through the Flux.jl documentation and came across this code. julia\> x = \[2, 1\];…

---

## [Quantum clustering algorithm in Julia](https://discourse.julialang.org/t/quantum-clustering-algorithm-in-julia/65061)

<div class="topic-metadata">

**Author:** [@j\_u](https://discourse.julialang.org/u/j_u)\
**Replies:** 2\
**Last updated:** [August 23, 2021, 3:56pm UTC](https://discourse.julialang.org/t/quantum-clustering-algorithm-in-julia/65061 "2021-08-23T15:56:32Z")

</div>

Hi, Is there any example of quantum clustering algorithm written in Julia? Ideally something that is automatically determining number of clusters? This is my first step into quantum computing so I hope the question is …

---

## [Could MathTeXEngine hook up into LaTeX?](https://discourse.julialang.org/t/could-mathtexengine-hook-up-into-latex/66742)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 10\
**Last updated:** [August 23, 2021, 3:15pm UTC](https://discourse.julialang.org/t/could-mathtexengine-hook-up-into-latex/66742 "2021-08-23T15:15:31Z")

</div>

This topic might be quite irritating, so sorry for that in advance. Currently, Makie.jl uses MathTeXEngine.jl to process LaTeX. I have looked at MathTeXEngine.jl, and what I understood is that it returns information abo…

---

## [PyCall error on lsf cluster](https://discourse.julialang.org/t/pycall-error-on-lsf-cluster/66837)

<div class="topic-metadata">

**Author:** [@marcobonici](https://discourse.julialang.org/u/marcobonici)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 1:50pm UTC](https://discourse.julialang.org/t/pycall-error-on-lsf-cluster/66837 "2021-08-23T13:50:04Z")

</div>

Dear all, I am having an issue importing a Python package (with PyCall) on the lsf cluster of my university. I want to perform an MCMC analysis using Turing on the Cluster. I have been able to use Turing on my local ma…

---

## [JuMP-dev 2021: that's a wrap](https://discourse.julialang.org/t/jump-dev-2021-thats-a-wrap/65584)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 9:50am UTC](https://discourse.julialang.org/t/jump-dev-2021-thats-a-wrap/65584 "2021-08-23T09:50:11Z")

</div>

Dear all, That’s a wrap for JuMP-dev 2021! I want to start by thanking the JuliaCon organizing committee for helping us co-locate JuMP-dev at JuliaCon. They went over and beyond to accommodate us and make the interacti…

---

## [ERROR: LoadError: ArgumentError: cannot take the CPU address of a CuArray{Float32, 2, CUDA.Mem.DeviceBuffer}](https://discourse.julialang.org/t/error-loaderror-argumenterror-cannot-take-the-cpu-address-of-a-cuarray-float32-2-cuda-mem-devicebuffer/66801)

<div class="topic-metadata">

**Author:** [@extremety1989](https://discourse.julialang.org/u/extremety1989)\
**Replies:** 12\
**Last updated:** [August 23, 2021, 7:35am UTC](https://discourse.julialang.org/t/error-loaderror-argumenterror-cannot-take-the-cpu-address-of-a-cuarray-float32-2-cuda-mem-devicebuffer/66801 "2021-08-23T07:35:42Z")

</div>

the problem is in " x\_batch, y\_batch = x\_batch|\>gpu, y\_batch|\>gpu " when i convert batches to gpu, removing it will work, but how can i make it work on gpu? pullback function from Zygote. here is fullcode using Flux us…

---

## [Makie Direction of Heatmap](https://discourse.julialang.org/t/makie-direction-of-heatmap/66811)

<div class="topic-metadata">

**Author:** [@Jdbeck66](https://discourse.julialang.org/u/Jdbeck66)\
**Replies:** 2\
**Last updated:** [August 22, 2021, 9:31pm UTC](https://discourse.julialang.org/t/makie-direction-of-heatmap/66811 "2021-08-22T21:31:46Z")

</div>

I’m trying to create a 3 part heat map using this code P₁ = transpose(dfm\[1:21,88:108\]) # Matrix{Float64} seq₁ = reverse(transpose(singlemutfitness\[1:21\])) # Vector{Float64} seq₂ = reverse(transpose(singlemutfitness\[88:…

---

## [Where can i find documentation about Flux modular (approach) for building models?](https://discourse.julialang.org/t/where-can-i-find-documentation-about-flux-modular-approach-for-building-models/66780)

<div class="topic-metadata">

**Author:** [@extremety1989](https://discourse.julialang.org/u/extremety1989)\
**Replies:** 4\
**Last updated:** [August 21, 2021, 7:17pm UTC](https://discourse.julialang.org/t/where-can-i-find-documentation-about-flux-modular-approach-for-building-models/66780 "2021-08-21T19:17:02Z")

</div>

i found this example ,but no documentation how to build this way struct FFNetwork fc\_1 dropout fc\_2 FFNetwork( input\_dim::Int, hidden\_dim::Int, dropout::Float32, num\_classes::Int ) = new( …

---

## [LaTeX not working in Makie](https://discourse.julialang.org/t/latex-not-working-in-makie/66687)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 7\
**Last updated:** [August 21, 2021, 5:04pm UTC](https://discourse.julialang.org/t/latex-not-working-in-makie/66687 "2021-08-21T17:04:43Z")

</div>

I am trying to figure out how to use Makie. As a simple test, I decided to run the following code snippet: using CairoMakie, LaTeXStrings xs = 0.0:0.01:2.0 lines(xs, sin.(π.\*xs), axis=(title=L"\\sin{x}",)) However, I …

---

## [Batch evaluation for NeuralODE?](https://discourse.julialang.org/t/batch-evaluation-for-neuralode/66753)

<div class="topic-metadata">

**Author:** [@kengyangyao](https://discourse.julialang.org/u/kengyangyao)\
**Replies:** 1\
**Last updated:** [August 21, 2021, 1:26pm UTC](https://discourse.julialang.org/t/batch-evaluation-for-neuralode/66753 "2021-08-21T13:26:06Z")

</div>

Hi, I am new to Julia and am trying to use NeuralODE as follows: d\_in, dim\_hidden = 25, 16 tspan = (0., 1.) t = range(tspan\[1\], tspan\[2\], length=100) dxdt = Chain(Dense(d\_in, dim\_hidden, tanh), Dense(dim\_hidden, dim\_hid…

---

## [Changing the smoothness of density function](https://discourse.julialang.org/t/changing-the-smoothness-of-density-function/66611)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 28\
**Last updated:** [August 21, 2021, 11:24am UTC](https://discourse.julialang.org/t/changing-the-smoothness-of-density-function/66611 "2021-08-21T11:24:32Z")

</div>

Hi, I wish to plot a density function (to compare to another density function I have plotted). Unfortunatley, all values are integers, typically between 0 and 5. This gives a very jagged, and ugly looking plot. Is there…

---

## [Solving A\\b in parallel](https://discourse.julialang.org/t/solving-a-b-in-parallel/10011)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 13\
**Last updated:** [August 21, 2021, 10:25am UTC](https://discourse.julialang.org/t/solving-a-b-in-parallel/10011 "2021-08-21T10:25:09Z")

</div>

I have an access to a large shared-memory machine. It has memory in the order of TB, and has 64 CPU cores. If I want to perform A\\b for a square matrix A and column vector b on this shared-memory machine using multiple…

---

## [Solving ODE parameters using experimental data with control inputs](https://discourse.julialang.org/t/solving-ode-parameters-using-experimental-data-with-control-inputs/66614)

<div class="topic-metadata">

**Author:** [@Anthony](https://discourse.julialang.org/u/Anthony)\
**Replies:** 20\
**Last updated:** [August 21, 2021, 6:44am UTC](https://discourse.julialang.org/t/solving-ode-parameters-using-experimental-data-with-control-inputs/66614 "2021-08-21T06:44:28Z")

</div>

I am trying to solve for parameters of a simple differential equation that looks like this: \\dot T = aT + bD + c where T is collected experimentally and D is the known control input. I’m trying to solve for the parame…

---

## [Experiences using JuMP with Gurobi cloud](https://discourse.julialang.org/t/experiences-using-jump-with-gurobi-cloud/66732)

<div class="topic-metadata">

**Author:** [@Akatz](https://discourse.julialang.org/u/Akatz)\
**Replies:** 1\
**Last updated:** [August 20, 2021, 8:19pm UTC](https://discourse.julialang.org/t/experiences-using-jump-with-gurobi-cloud/66732 "2021-08-20T20:19:51Z")

</div>

Hi, Anyone have experience or feedback on using JuMP with gurobi instant cloud?

---

## [Makie: mismatch between LaTeX and non-LaTeX font sizes](https://discourse.julialang.org/t/makie-mismatch-between-latex-and-non-latex-font-sizes/66734)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 11\
**Last updated:** [August 20, 2021, 7:34pm UTC](https://discourse.julialang.org/t/makie-mismatch-between-latex-and-non-latex-font-sizes/66734 "2021-08-20T19:34:03Z")

</div>

I have created the following example with CairoMakie.jl: using CairoMakie, LaTeXStrings xs = 0.0:0.01:2.0 lines(xs, sin.(π.\*xs), axis=(title=L"\\sin{x}",)) According to the documentation, the font sizes for title an…

---

## [Makie stacked bar chart legends & labels inside axis](https://discourse.julialang.org/t/makie-stacked-bar-chart-legends-labels-inside-axis/66706)

<div class="topic-metadata">

**Author:** [@bicepjai](https://discourse.julialang.org/u/bicepjai)\
**Replies:** 1\
**Last updated:** [August 20, 2021, 6:58pm UTC](https://discourse.julialang.org/t/makie-stacked-bar-chart-legends-labels-inside-axis/66706 "2021-08-20T18:58:44Z")

</div>

How to place legend for stacked bar chart inside an axis. This can save lot of space on plots. How to place labels when drawing stacked bar chart Sample code can be found in makie examples here using CairoMakie tbl =…

---

## [Makie plot not updating on key press](https://discourse.julialang.org/t/makie-plot-not-updating-on-key-press/66697)

<div class="topic-metadata">

**Author:** [@mkoculak](https://discourse.julialang.org/u/mkoculak)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 6:46pm UTC](https://discourse.julialang.org/t/makie-plot-not-updating-on-key-press/66697 "2021-08-20T18:46:49Z")

</div>

I am trying to make a simple plot updating on a keypress. I get the “step” to update when I press the keys, but the plot stays the same. I can’t seem to find any examples of such a case. It is probably something simple…

---

## [\[WIP\] Using Faust in Julia](https://discourse.julialang.org/t/wip-using-faust-in-julia/66271)

<div class="topic-metadata">

**Author:** [@sletz](https://discourse.julialang.org/u/sletz)\
**Replies:** 4\
**Last updated:** [August 20, 2021, 3:52pm UTC](https://discourse.julialang.org/t/wip-using-faust-in-julia/66271 "2021-08-20T15:52:27Z")

</div>

Faust (Functional Audio Stream) is a functional programming language for sound synthesis and audio processing with a strong focus on the design of synthesizers, musical instruments, audio effects, etc. Faust targets high…

---

## [Makie: figure resolution in inches](https://discourse.julialang.org/t/makie-figure-resolution-in-inches/66716)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 6\
**Last updated:** [August 20, 2021, 3:07pm UTC](https://discourse.julialang.org/t/makie-figure-resolution-in-inches/66716 "2021-08-20T15:07:05Z")

</div>

How do I create a figure whose size is given in inches instead of pixels? fig = Figure(res = ?) I’ve searched the Makie.jl docs but I really didn’t find out how. Search keywords resolution and inches did not yield usef…

---

## [No docs for figure attributes in Makie](https://discourse.julialang.org/t/no-docs-for-figure-attributes-in-makie/66683)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 12\
**Last updated:** [August 20, 2021, 12:12pm UTC](https://discourse.julialang.org/t/no-docs-for-figure-attributes-in-makie/66683 "2021-08-20T12:12:16Z")

</div>

Hi, guys. I have decided to give Makie.jl a try and prepare the plots for my paper in it. Unfortunately, I got stuck at the very beginning. Skimming over docs, I noticed that there is no list of the figure attributes …

---

## [Help with LightGraphs.jl](https://discourse.julialang.org/t/help-with-lightgraphs-jl/66663)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 6\
**Last updated:** [August 20, 2021, 10:13am UTC](https://discourse.julialang.org/t/help-with-lightgraphs-jl/66663 "2021-08-20T10:13:24Z")

</div>

Hello, I am trying to move away from the R package iGraph to LightGraphs.jl but am having difficulty. I have a food web where each species is a node and a link connects it to another species (node) - this is translated…

---

## [Interface for loading GBIF datasets into Flux](https://discourse.julialang.org/t/interface-for-loading-gbif-datasets-into-flux/65976)

<div class="topic-metadata">

**Author:** [@banksiaboy](https://discourse.julialang.org/u/banksiaboy)\
**Replies:** 3\
**Last updated:** [August 20, 2021, 6:47am UTC](https://discourse.julialang.org/t/interface-for-loading-gbif-datasets-into-flux/65976 "2021-08-20T06:47:12Z")

</div>

Here is an example of a dataset resulting from my query against the GBIF occurrences database. As you can see it has its own DOI, is well-structured, and should be a good candidate for loading as a data source into Fl…

---

## [How to annotate a groupedbar-plot?](https://discourse.julialang.org/t/how-to-annotate-a-groupedbar-plot/46938)

<div class="topic-metadata">

**Author:** [@Parazetamol](https://discourse.julialang.org/u/Parazetamol)\
**Replies:** 4\
**Last updated:** [August 20, 2021, 6:21am UTC](https://discourse.julialang.org/t/how-to-annotate-a-groupedbar-plot/46938 "2021-08-20T06:21:13Z")

</div>

Hi there, I desperately try to label the individual bars of a groupedbar plot, as in https://matplotlib.org/examples/api/barchart\_demo.html I took some code from a former post https://discourse.julialang.org/t/plots-ba…

---

## [Exogenous functions and data in ODE aren't working if modertly complicated](https://discourse.julialang.org/t/exogenous-functions-and-data-in-ode-arent-working-if-modertly-complicated/66678)

<div class="topic-metadata">

**Author:** [@Anthony](https://discourse.julialang.org/u/Anthony)\
**Replies:** 6\
**Last updated:** [August 19, 2021, 10:07pm UTC](https://discourse.julialang.org/t/exogenous-functions-and-data-in-ode-arent-working-if-modertly-complicated/66678 "2021-08-19T22:07:05Z")

</div>

Yesterday I posted about getting control inputs into an ODE and I got great advice. However, I’m running into an issue where the exogenous functions used don’t seem to work if they’re even moderately complicated. Below …

---

## [Operations on NonlinearExpressions](https://discourse.julialang.org/t/operations-on-nonlinearexpressions/66453)

<div class="topic-metadata">

**Author:** [@tonygem96](https://discourse.julialang.org/u/tonygem96)\
**Replies:** 3\
**Last updated:** [August 19, 2021, 9:22pm UTC](https://discourse.julialang.org/t/operations-on-nonlinearexpressions/66453 "2021-08-19T21:22:29Z")

</div>

I am building a user defined function to be optimized in an NLP problem. However NLexpressions cannot be operated on without the @NLexpression macro (eg added, subtracted etc). Is there something wrong with lets say exte…

---

## [Flux running slow?](https://discourse.julialang.org/t/flux-running-slow/46032)

<div class="topic-metadata">

**Author:** [@ChrisBlake](https://discourse.julialang.org/u/ChrisBlake)\
**Replies:** 16\
**Last updated:** [August 19, 2021, 5:35am UTC](https://discourse.julialang.org/t/flux-running-slow/46032 "2021-08-19T05:35:24Z")

</div>

Hi, I’m new to Julia and testing it out for ML, hoping to use it for RL which is my main area of work. I noticed that Flux seems to be running much slower than I would have expected. I created a simple example of how I’…

---

## [LightGraphs benchmark study, take 2](https://discourse.julialang.org/t/lightgraphs-benchmark-study-take-2/39297)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 6\
**Last updated:** [August 18, 2021, 10:07pm UTC](https://discourse.julialang.org/t/lightgraphs-benchmark-study-take-2/39297 "2021-08-18T22:07:46Z")

</div>

Hi all, You might recall that back in February Tim Lin posted some graph benchmarks, and LightGraphs did reasonably well. In my post at the time, I mentioned that Tim was going to re-run the benchmarks in a few months. …

---

## [Conv\_mnist model-zoo example,](https://discourse.julialang.org/t/conv-mnist-model-zoo-example/66592)

<div class="topic-metadata">

**Author:** [@extremety1989](https://discourse.julialang.org/u/extremety1989)\
**Replies:** 9\
**Last updated:** [August 18, 2021, 5:09pm UTC](https://discourse.julialang.org/t/conv-mnist-model-zoo-example/66592 "2021-08-18T17:09:17Z")

</div>

I loaded mnist test data from Kaggle, i wanted to test my pretrained model from conv\_mnist, how to use pretrained model to predict image ? It says: LeNet5 “constructor”. The model can be adapted to any image size and a…

---

## ["sparse inverse" from sparse Cholesky](https://discourse.julialang.org/t/sparse-inverse-from-sparse-cholesky/63080)

<div class="topic-metadata">

**Author:** [@Andres\_Legarra](https://discourse.julialang.org/u/Andres_Legarra)\
**Replies:** 0\
**Last updated:** [June 17, 2021, 12:07pm UTC](https://discourse.julialang.org/t/sparse-inverse-from-sparse-cholesky/63080 "2021-06-17T12:07:10Z")

</div>

I am looking for a manner to obtain, from the sparse Cholesky decomposition of sparse A, the “sparse inverse”, i.e. obtaining only the elements in A^{-1} that correspond to the non-null elements in A. This is sometime…

---

## [How to run a Julia page example using GLMakie?](https://discourse.julialang.org/t/how-to-run-a-julia-page-example-using-glmakie/66602)

<div class="topic-metadata">

**Author:** [@JoaoFlauzino](https://discourse.julialang.org/u/JoaoFlauzino)\
**Replies:** 10\
**Last updated:** [August 18, 2021, 4:26pm UTC](https://discourse.julialang.org/t/how-to-run-a-julia-page-example-using-glmakie/66602 "2021-08-18T16:26:57Z")

</div>

I just can’t run the example available here https://juliadynamics.github.io/InteractiveDynamics.jl/dev/cobweb/ I copied and pasted this code and when I run it doesn’t work. I’ve already tried \]build GLMakie . using In…

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

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