# Specific Domains

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

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

**Page:** 493

---

## [Flux.jl is not modifying the loss](https://discourse.julialang.org/t/flux-jl-is-not-modifying-the-loss/25646)

<div class="topic-metadata">

**Author:** [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)\
**Replies:** 4\
**Last updated:** [June 25, 2019, 3:05pm UTC](https://discourse.julialang.org/t/flux-jl-is-not-modifying-the-loss/25646 "2019-06-25T15:05:46Z")

</div>

using Flux,LinearAlgebra function MWE() η=0.01 model=Conv((64, 64), 1=\>1, relu,stride=30) loss(x,y) = Flux.mse(model(x),y) dataset=\[(rand(100,100,1,1),rand(2,2,1,1))\] @show model(dataset\[1\]\[1\]) @s…

---

## [Asynchronous variable change](https://discourse.julialang.org/t/asynchronous-variable-change/25441)

<div class="topic-metadata">

**Author:** [@KestutisMa](https://discourse.julialang.org/u/KestutisMa)\
**Replies:** 2\
**Last updated:** [June 25, 2019, 9:35am UTC](https://discourse.julialang.org/t/asynchronous-variable-change/25441 "2019-06-25T09:35:07Z")

</div>

Hi, I am implementing biophysical simulation software with GUI using Blink.jl and js that controls Julia part of code. I want to be able to start at stop Julia algorithm at any iteration from GUI. I considered idea about…

---

## [Multi-headed Network on GPU with Flux](https://discourse.julialang.org/t/multi-headed-network-on-gpu-with-flux/25623)

<div class="topic-metadata">

**Author:** [@noumea](https://discourse.julialang.org/u/noumea)\
**Replies:** 0\
**Last updated:** [June 24, 2019, 7:59pm UTC](https://discourse.julialang.org/t/multi-headed-network-on-gpu-with-flux/25623 "2019-06-24T19:59:51Z")

</div>

I just started learning Flux.jl. I would like to setup a network that only takes part of the input data in the initial layer and then concatenates the output later. It looks like my code works fine on the CPU, however wh…

---

## [Speeding up sparse matrix multiplication and assembly](https://discourse.julialang.org/t/speeding-up-sparse-matrix-multiplication-and-assembly/25452)

<div class="topic-metadata">

**Author:** [@thehalfspace](https://discourse.julialang.org/u/thehalfspace)\
**Replies:** 8\
**Last updated:** [June 24, 2019, 6:37pm UTC](https://discourse.julialang.org/t/speeding-up-sparse-matrix-multiplication-and-assembly/25452 "2019-06-24T18:37:47Z")

</div>

I am trying to solve a large linear system using IterativeSolvers and AlgebraicMultigrid. Let my elemental stiffness matrix be Ke (size = 25x25xNe) where Ne is number of elements. The index for assembly is iglob (size =…

---

## [Parallel computing: calling module failed](https://discourse.julialang.org/t/parallel-computing-calling-module-failed/25571)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 1\
**Last updated:** [June 24, 2019, 5:22pm UTC](https://discourse.julialang.org/t/parallel-computing-calling-module-failed/25571 "2019-06-24T17:22:59Z")

</div>

Background: I wrote a module myself, where the function requires parallel computing.Here is my code: module sds using Distributed @everywhere using SharedArrays export test function test(N) S …

---

## [Select a device for the entire program](https://discourse.julialang.org/t/select-a-device-for-the-entire-program/25603)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 3\
**Last updated:** [June 24, 2019, 4:22pm UTC](https://discourse.julialang.org/t/select-a-device-for-the-entire-program/25603 "2019-06-24T16:22:20Z")

</div>

Question: To my understanding, CuArrays/CUDAnative/CUDAdrv selects the device 0 by default. How can I select a different device at the beginning of my program, that will be used in the rest of the program for any GPU op…

---

## [Autodiff on image convolution](https://discourse.julialang.org/t/autodiff-on-image-convolution/25574)

<div class="topic-metadata">

**Author:** [@francesco.alemanno](https://discourse.julialang.org/u/francesco.alemanno)\
**Replies:** 6\
**Last updated:** [June 24, 2019, 1:55pm UTC](https://discourse.julialang.org/t/autodiff-on-image-convolution/25574 "2019-06-24T13:55:15Z")

</div>

Hello everyone, i was trying to leverage julia Autodiff tools, to solve this problem: I have two images A,B and a convolution kernel K i tried to use Flux.tracker, ForwardDiff, Zygote, and Knet.AutoGrad to minimize th…

---

## [Using Distributed: computational efficiency](https://discourse.julialang.org/t/using-distributed-computational-efficiency/25570)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 5\
**Last updated:** [June 24, 2019, 12:50pm UTC](https://discourse.julialang.org/t/using-distributed-computational-efficiency/25570 "2019-06-24T12:50:12Z")

</div>

Background: I want to add elements to the matrix and want to use @distributed for acceleration,here is my code: function fill(N) S = zeros(N,N) for i in 1:length(S) S\[i\] = i end end @btime fill(10…

---

## [Estimate parameters of a Delay Differential Equation](https://discourse.julialang.org/t/estimate-parameters-of-a-delay-differential-equation/25159)

<div class="topic-metadata">

**Author:** [@Farnazmdi](https://discourse.julialang.org/u/Farnazmdi)\
**Replies:** 6\
**Last updated:** [June 24, 2019, 4:53am UTC](https://discourse.julialang.org/t/estimate-parameters-of-a-delay-differential-equation/25159 "2019-06-24T04:53:54Z")

</div>

Hi! I am new to Julia and I’m trying to fit my data to a DDE, but have a problem with optimize(). It is not recognized, here is my code, and the error. I would appreciate if anyone could provide a toy example for how t…

---

## [Batch Training with TensorFlow.jl](https://discourse.julialang.org/t/batch-training-with-tensorflow-jl/25575)

<div class="topic-metadata">

**Author:** [@oli](https://discourse.julialang.org/u/oli)\
**Replies:** 0\
**Last updated:** [June 23, 2019, 4:21pm UTC](https://discourse.julialang.org/t/batch-training-with-tensorflow-jl/25575 "2019-06-23T16:21:54Z")

</div>

Hi, I have an existing DNN project that works in Python, but I want to transition towards Julia. I’m having problems when it comes to using batches for training. Since my project is quite large, I will simply summarize …

---

## [Questions about getting started with parallel computing](https://discourse.julialang.org/t/questions-about-getting-started-with-parallel-computing/25341)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 18\
**Last updated:** [June 22, 2019, 2:01pm UTC](https://discourse.julialang.org/t/questions-about-getting-started-with-parallel-computing/25341 "2019-06-22T14:01:03Z")

</div>

Background: I have already written a program with julia. In order to pursue speed, I now want to solve this problem with parallel computing. OpenMP C++: I know that when I used C++ before, I used OpenMP to speed up my p…

---

## [How do I use Cbc with JuMP 0.19?](https://discourse.julialang.org/t/how-do-i-use-cbc-with-jump-0-19/25502)

<div class="topic-metadata">

**Author:** [@dburch](https://discourse.julialang.org/u/dburch)\
**Replies:** 1\
**Last updated:** [June 22, 2019, 2:24am UTC](https://discourse.julialang.org/t/how-do-i-use-cbc-with-jump-0-19/25502 "2019-06-22T02:24:14Z")

</div>

How do I use Cbc with JuMP 0.19? The new syntax is throwing me off. All of the documentation I can find is using the old syntax. Old Syntax model = Model(solver=CbcSolver()) I know that GLPK with new syntax is like th…

---

## [Flux.jl vanilla ANN loss goes to NaN with mini batch](https://discourse.julialang.org/t/flux-jl-vanilla-ann-loss-goes-to-nan-with-mini-batch/25511)

<div class="topic-metadata">

**Author:** [@jchen975](https://discourse.julialang.org/u/jchen975)\
**Replies:** 0\
**Last updated:** [June 21, 2019, 4:14am UTC](https://discourse.julialang.org/t/flux-jl-vanilla-ann-loss-goes-to-nan-with-mini-batch/25511 "2019-06-21T04:14:00Z")

</div>

I’m building a vanilla NN with 1 or 2 hidden layers for a regression problem that’s basically as follows: I take N sets of known values (x\_1, y\_1), ..., (x\_k, y\_k) as input to an approximation solver that returns N sets…

---

## [Error solving multiple JuMP models in parallel](https://discourse.julialang.org/t/error-solving-multiple-jump-models-in-parallel/3047)

<div class="topic-metadata">

**Author:** [@FabsOliveira](https://discourse.julialang.org/u/FabsOliveira)\
**Replies:** 6\
**Last updated:** [April 9, 2017, 9:53am UTC](https://discourse.julialang.org/t/error-solving-multiple-jump-models-in-parallel/3047 "2017-04-09T09:53:44Z")

</div>

Hi everyone, I’m struggling with an error that I can’t really understand. I am trying to solve several JuMP.Models in parallel as a step of a decomposition algorithm that can exploit a specific structure of my model. I…

---

## [Advice about refactoring LinearFractional.jl for JuMP 0.19 and Julia 0.7](https://discourse.julialang.org/t/advice-about-refactoring-linearfractional-jl-for-jump-0-19-and-julia-0-7/12966)

<div class="topic-metadata">

**Author:** [@ianfiske](https://discourse.julialang.org/u/ianfiske)\
**Replies:** 7\
**Last updated:** [June 21, 2019, 3:07pm UTC](https://discourse.julialang.org/t/advice-about-refactoring-linearfractional-jl-for-jump-0-19-and-julia-0-7/12966 "2019-06-21T15:07:29Z")

</div>

A short while ago, I shared GitHub - nexteraanalytics/LinearFractional.jl: Linear fractional programming with Julia and JuMP for solving linear fractional programs with JuMP. I’m now looking into a big refactor to take …

---

## [Givens matrix for an integer vector](https://discourse.julialang.org/t/givens-matrix-for-an-integer-vector/25520)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 6\
**Last updated:** [June 21, 2019, 2:23pm UTC](https://discourse.julialang.org/t/givens-matrix-for-an-integer-vector/25520 "2019-06-21T14:23:48Z")

</div>

As a newcomer to Julia I am still struggling with various type-related issues. One of them is this: using LinearAlgebra julia\> x = \[3,4\] 2-element Array{Int64,1}: 3 4 julia\> G,r = givens(x,1,2) ERROR: MethodError: no…

---

## [StatsPlots corrplot is not executing](https://discourse.julialang.org/t/statsplots-corrplot-is-not-executing/25524)

<div class="topic-metadata">

**Author:** [@GdMacmillan](https://discourse.julialang.org/u/GdMacmillan)\
**Replies:** 2\
**Last updated:** [June 21, 2019, 1:53pm UTC](https://discourse.julialang.org/t/statsplots-corrplot-is-not-executing/25524 "2019-06-21T13:53:12Z")

</div>

Interesting problem here. Perhaps this would be best written as an issue in the StatsPlots git repo so I’m here to find out I am running my work in a Jupyter notebook (v4.4), Julia 1.1.1 MacBook Pro (Retina, 13-inch, E…

---

## [What is the future of WebIO, web-based GUIs?](https://discourse.julialang.org/t/what-is-the-future-of-webio-web-based-guis/9607)

<div class="topic-metadata">

**Author:** [@jwikmark](https://discourse.julialang.org/u/jwikmark)\
**Replies:** 1\
**Last updated:** [March 9, 2018, 10:00pm UTC](https://discourse.julialang.org/t/what-is-the-future-of-webio-web-based-guis/9607 "2018-03-09T22:00:43Z")

</div>

We’re building a small application that uses WebIO and I’m curious about the future of this package and its relatives (InteractNext etc), as well as the general state of tools to build web-based GUI applications in Julia…

---

## [Montecarlo DAE](https://discourse.julialang.org/t/montecarlo-dae/25497)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 4\
**Last updated:** [June 21, 2019, 7:21am UTC](https://discourse.julialang.org/t/montecarlo-dae/25497 "2019-06-21T07:21:54Z")

</div>

Hi everyone - I am having a little problem defining a montecarlo DAE problem with varying parameters - Any help would be appreciated. Here is toy example, comparinng standard correct solution and montecarlo results. …

---

## [Towards a common Manifold Framework / Package](https://discourse.julialang.org/t/towards-a-common-manifold-framework-package/24910)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 10\
**Last updated:** [June 21, 2019, 7:13am UTC](https://discourse.julialang.org/t/towards-a-common-manifold-framework-package/24910 "2019-06-21T07:13:29Z")

</div>

Continuing the discussion from \[ANN\] Manopt.jl I would like to collect Ideas and approaches towards a common package that should be the base for “Things on manifolds”: Solving optimization problems (disclaimer, I am deve…

---

## [Flux ready for a beginner deep learning project?](https://discourse.julialang.org/t/flux-ready-for-a-beginner-deep-learning-project/9262)

<div class="topic-metadata">

**Author:** [@datnamer](https://discourse.julialang.org/u/datnamer)\
**Replies:** 31\
**Last updated:** [June 20, 2019, 10:59pm UTC](https://discourse.julialang.org/t/flux-ready-for-a-beginner-deep-learning-project/9262 "2019-06-20T22:59:05Z")

</div>

Hi, I’m about to embark on a client facing Deep learning project where I’d need to get up to speed on some basic DL things and then start a research project within a couple of weeks or so. (they are aware of my curren…

---

## [Pmap over data frame](https://discourse.julialang.org/t/pmap-over-data-frame/25432)

<div class="topic-metadata">

**Author:** [@abx](https://discourse.julialang.org/u/abx)\
**Replies:** 1\
**Last updated:** [June 20, 2019, 6:18pm UTC](https://discourse.julialang.org/t/pmap-over-data-frame/25432 "2019-06-20T18:18:13Z")

</div>

I am trying to pmap a function over a DataFrame, probably I am missing something really obvious. As per the example below, I would each DataFrameRow to be an element of the pmap, and each column value of the DataFrameRo…

---

## [Retriving the Tableau from Gurobi](https://discourse.julialang.org/t/retriving-the-tableau-from-gurobi/25468)

<div class="topic-metadata">

**Author:** [@rcallen24](https://discourse.julialang.org/u/rcallen24)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 3:11pm UTC](https://discourse.julialang.org/t/retriving-the-tableau-from-gurobi/25468 "2019-06-20T15:11:33Z")

</div>

I am trying to get the tableau from Gurobi and running into some problems. I went through the gurobi github and reference manual and was able to put this together but it is erroring out. # dummy model m = direct\_model(G…

---

## [Predict impact locations of astroid 2006QV89](https://discourse.julialang.org/t/predict-impact-locations-of-astroid-2006qv89/25416)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 10\
**Last updated:** [June 20, 2019, 5:53am UTC](https://discourse.julialang.org/t/predict-impact-locations-of-astroid-2006qv89/25416 "2019-06-20T05:53:26Z")

</div>

Could someone use Julia to predict what location on Earth would be affected if 2006QV89 impacts Earth? I imagine it would depend on the Earth’s daily rotation at the time. Please let me know if somebody can predict what…

---

## [Estimate most probable value from data](https://discourse.julialang.org/t/estimate-most-probable-value-from-data/25451)

<div class="topic-metadata">

**Author:** [@favba](https://discourse.julialang.org/u/favba)\
**Replies:** 7\
**Last updated:** [June 19, 2019, 9:33pm UTC](https://discourse.julialang.org/t/estimate-most-probable-value-from-data/25451 "2019-06-19T21:33:05Z")

</div>

I have discrete data from a continuous field. The data probability distribution is not known, but it has only one peak value, what I guess is called “mode” of the pdf. The normalized histograms from the data look like s…

---

## [Write out an animation incrementally](https://discourse.julialang.org/t/write-out-an-animation-incrementally/25410)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 12\
**Last updated:** [June 19, 2019, 5:05pm UTC](https://discourse.julialang.org/t/write-out-an-animation-incrementally/25410 "2019-06-19T17:05:02Z")

</div>

Context Until now, I have been using the following approach to create animations: using Plots anim = Animation(); for it = 1:nt # Computations # ... # Visualization (e.g. every 10th time step) if mod(i…

---

## [Mapslices causes an error with Flux and GPU arrays](https://discourse.julialang.org/t/mapslices-causes-an-error-with-flux-and-gpu-arrays/25448)

<div class="topic-metadata">

**Author:** [@tanhevg](https://discourse.julialang.org/u/tanhevg)\
**Replies:** 2\
**Last updated:** [June 19, 2019, 3:46pm UTC](https://discourse.julialang.org/t/mapslices-causes-an-error-with-flux-and-gpu-arrays/25448 "2019-06-19T15:46:49Z")

</div>

I wonder, if this is a known issue. Quick Google search has not revealed anything. using CuArrays, Flux f(x) = sum(mapslices(t-\>sqrt(sum(t.\*t)), x, dims=2)) df(x) = Tracker.gradient(f, x) x = rand(10, 10) |\> gpu df(x) E…

---

## [How to pass the output of custom layers into Dense layer](https://discourse.julialang.org/t/how-to-pass-the-output-of-custom-layers-into-dense-layer/25421)

<div class="topic-metadata">

**Author:** [@stu](https://discourse.julialang.org/u/stu)\
**Replies:** 1\
**Last updated:** [June 19, 2019, 2:16pm UTC](https://discourse.julialang.org/t/how-to-pass-the-output-of-custom-layers-into-dense-layer/25421 "2019-06-19T14:16:03Z")

</div>

I am trying to do the following example: using Flux encoderA = Dense(10, 2) encoderB(x) = atan(x\[2\], x\[1\]) decoderA(x) = \[\[cos(x)\], \[sin(x)\]\] decoderB = Dense(2, 10) m1 = Chain(encoderA, encoderB, decoderA, decoderB) …

---

## [How to make parallel subprocesses?](https://discourse.julialang.org/t/how-to-make-parallel-subprocesses/25005)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 6\
**Last updated:** [June 19, 2019, 10:56am UTC](https://discourse.julialang.org/t/how-to-make-parallel-subprocesses/25005 "2019-06-19T10:56:46Z")

</div>

I am trying to create small subprocesses that would operate in parallel to my main process. In the example below I have 10 different agents that are callable and that generate some numbers. I am interested in saving thes…

---

## [What datatypes can you pass into train!](https://discourse.julialang.org/t/what-datatypes-can-you-pass-into-train/25377)

<div class="topic-metadata">

**Author:** [@stu](https://discourse.julialang.org/u/stu)\
**Replies:** 3\
**Last updated:** [June 18, 2019, 7:02pm UTC](https://discourse.julialang.org/t/what-datatypes-can-you-pass-into-train/25377 "2019-06-18T19:02:10Z")

</div>

cannot find good documentation of this anywhere

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

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