GithubHelp home page GithubHelp logo

密度图 about mscnn HOT 8 OPEN

ling-bao avatar ling-bao commented on August 15, 2024
密度图

from mscnn.

Comments (8)

jituoo avatar jituoo commented on August 15, 2024

@Ling-Bao

from mscnn.

Ling-Bao avatar Ling-Bao commented on August 15, 2024
import numpy as np
from matplotlib import pyplot as plt

# load crowd map file
mp_name = ***
mp = np.load(mp_name +  ".npy" )

# crowd counts
people_counts = round(sum(sum(mp)))

# show
plt.imsave(mp_name + ".png", mp, cmap=plt.get_cmap('jet'))
plt.imshow(mp, cmap=plt.get_cmap('jet'))

from mscnn.

jituoo avatar jituoo commented on August 15, 2024

image这是什么问题,附件是npy文件的信息
1.txt

from mscnn.

Marcus208 avatar Marcus208 commented on August 15, 2024

@jituoo 你好,请问或者问题怎么解决了?

from mscnn.

jituoo avatar jituoo commented on August 15, 2024

删除它多余的维度就行

from mscnn.

jituoo avatar jituoo commented on August 15, 2024

您好,再打扰一下。请问您有没有wordExpo10这个数据集能否给我发一下,先谢谢啦 @Ling-Bao

from mscnn.

Ling-Bao avatar Ling-Bao commented on August 15, 2024

抱歉,我这里没有这个数据集

from mscnn.

aain3314 avatar aain3314 commented on August 15, 2024

我看你的密度图的生成,使用npy只能生成标签密度图,怎样才能生成估计的密度图呢?谢谢

from mscnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.