Comments (8)
from mscnn.
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.
这是什么问题,附件是npy文件的信息
1.txt
from mscnn.
@jituoo 你好,请问或者问题怎么解决了?
from mscnn.
删除它多余的维度就行
from mscnn.
您好,再打扰一下。请问您有没有wordExpo10这个数据集能否给我发一下,先谢谢啦 @Ling-Bao
from mscnn.
抱歉,我这里没有这个数据集
from mscnn.
我看你的密度图的生成,使用npy只能生成标签密度图,怎样才能生成估计的密度图呢?谢谢
from mscnn.
Related Issues (20)
- how to generate a true annotation HOT 5
- Not found checkpoint file
- number of class
- ValueError: setting an array element with a sequence. HOT 1
- 测试结果
- 训练时长
- FileNotFoundError: [Errno 2] No such file or directory: 'Data_original/dir_name.txt' HOT 1
- Segmentation fault (core dumped) While running mscnn_train.py and mscnn_evaluate.py
- mscnn_eval.py results HOT 1
- While trying to train this model on my customized dataset it gives an error :InvalidArgumentError (see above for traceback): Incompatible shapes: [1,272,480] vs. [1,1088,1920] [[node sub (defined at /workspace/mscnn/mscnn.py:326) = Sub[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"](Squeeze, _arg_Placeholder_1_0_1/_111)]] HOT 4
- Has anyone trained this model with their own data set?
- Getting Incompatible shapes error HOT 2
- final_weights.h5
- 数据集mat文件怎么转换成npy的呢? HOT 1
- 训练自制比较稀疏的人群数据集时出现的问题 problems during training my own dataset HOT 1
- UCF__CC__50训练shapes不匹配 HOT 1
- 估计密度图的生成 HOT 3
- dir_name.txt HOT 1
- Can't download data set
- 你好 请问模型在哪里?测试自己图片直接得到人数?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mscnn.