朱莉娅的直方图:分发。
我正在M1芯片上的冥王星笔记本中运行Julia 1.7.2。
我的整数向量在1到9之间,并想制作一个直方图,显示哪些整数最常见。
我以为我已经通过成功地完成了此操作,然后在适当的向量上调用直方图
。有一次,我什至产生了一个我喜欢这样做的情节。
然后,我尝试在我编写的另一个pluto笔记本中复制此过程(IE 使用图
,然后调用直方图
)。
我不知道它是否与其他软件包发生冲突,但是我开始在此其他笔记本电脑中进行distributed.processexitedexception
错误。
在另一个失败模式下,我创建了一个单元格,该单元仅包含以下代码
begin
using Plots
histogram(vector)
end
,当我使用此代码运行笔记本时,所有其他单元格都对此进行了评估,但是最后一个单元格永远滞后并且无法评估。
沮丧的是,我回到了第一个笔记本电脑上,我在那里绘制了工作,但是现在我也得到了distribute.processexitedexception
错误!
我只是在发布,看看是否有人对可能发生的事情有任何想法。
特别是,
图
和分布式
之间是否存在链接?- 是否有任何会导致一个笔记本中的错误会导致以前一直在努力失败的其他笔记本?
我在第一个笔记本电脑中使用的包装,然后没有起作用)是
begin
using DataFrames
using BSON
using Revise
using FileIO
using CSV, HDF5, NRRD
# Statistics
using StatsBase: mean, nquantile, percentile
using LinearAlgebra: norm, mul!
using HypothesisTests
using Plots
using Random
# Tensors
using Tullio: @tullio
# Algorithms
import Flux
import Flux: update!
using Flux: RMSProp
end
我在第二个笔记本中使用的包裹,从未工作过
begin
using DataFrames
using FileIO
using CSV, HDF5, NRRD
# Statistics
using StatsBase: mean, nquantile, percentile
using LinearAlgebra: norm, mul!
using HypothesisTests
# Tensors
using Tullio: @tullio
# Algorithms
import Flux
import Flux: update!
using Flux: RMSProp
end
I'm running Julia 1.7.2 in a Pluto notebook on an M1 chip.
I have a vector of integers between 1 and 9, and would like to make a histogram showing which integers are most frequent.
I thought I had done this successfully by using Plots
and then calling histogram
on the appropriate vector. At one point I had even generated a plot that I liked doing this.
I then tried to replicate this procedure (i.e. using Plots
, and then call histogram
) in a different Pluto notebook I had written.
I don't know if it was conflicting with other packages, but I began to get Distributed.ProcessExitedException
errors in this other notebook when I ran histogram.
In another fail mode, I created a cell that contained only the following code
begin
using Plots
histogram(vector)
end
When I run the notebook with this code, all the other cells evaluate, but then this last cell lags forever and does not evaluate.
Frustrated, I went back to the first notebook where I had gotten the plotting to work, but now I get Distributed.ProcessExitedException
error there too!
I am just posting to see if anyone has any ideas as to what might be going on.
In particular,
- is there a link between
Plots
andDistributed
? - is there anything that would cause an error in one notebook to cause a different notebook that had previously been working to fail?
The packages I was using in the first notebook that worked, and then didn't work) were
begin
using DataFrames
using BSON
using Revise
using FileIO
using CSV, HDF5, NRRD
# Statistics
using StatsBase: mean, nquantile, percentile
using LinearAlgebra: norm, mul!
using HypothesisTests
using Plots
using Random
# Tensors
using Tullio: @tullio
# Algorithms
import Flux
import Flux: update!
using Flux: RMSProp
end
The packages I was using in the second notebook that never worked were
begin
using DataFrames
using FileIO
using CSV, HDF5, NRRD
# Statistics
using StatsBase: mean, nquantile, percentile
using LinearAlgebra: norm, mul!
using HypothesisTests
# Tensors
using Tullio: @tullio
# Algorithms
import Flux
import Flux: update!
using Flux: RMSProp
end
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论