Comments (5)
@Yogurt2019
Thank you very much! According to the your answer, I found the meaning of keypoints[:, 2]: you can download the UCF-QNRF_ECCV18 dataset which used in this project & paper, then do a test for testing the function find_dis in preprocess_dataset.py, you will solve the problem!
from bayesian-crowd-counting.
Same question[1], but question[0] is easy.
Before training or testing, you should run the pre_process.py to pre-process the dataset from .mat to .npy.
from bayesian-crowd-counting.
@seekFire
Thx too! Keypoints[:, 2] represents the mean value of three nearest point distances.
都是**人本来想中文回复的,但是为了国外友人能看懂还是英文回复了
加油 :)
from bayesian-crowd-counting.
The last coordinate is the estimated sizes of people.
from bayesian-crowd-counting.
@seekFire
Thx too! Keypoints[:, 2] represents the mean value of three nearest point distances.
都是**人本来想中文回复的,但是为了国外友人能看懂还是英文回复了
加油 :)
I think this is not the nearest neighbor.
I tried the special case and got the following result.
k=np.asarray([0,1.1,2,13,44,5])
np.partition(k, 3)
array([ 1.1, 0. , 2. , 5. , 13. , 44. ])
from bayesian-crowd-counting.
Related Issues (20)
- Issue about dataloader
- How to pre-process the ShanghaiTech dataset? HOT 3
- The meaning of the density graph? HOT 4
- Where does the variable 'points' define? HOT 1
- Ann .mat file to preprocess the input dataset HOT 2
- the abs in forward HOT 2
- Multi-GPU training HOT 3
- Performance with UCF-QNRF
- ShanghaiTech Dataset HOT 2
- Code for NWPU
- When random crop the image, the number of people may be zero. HOT 1
- How to set rights path in linux? HOT 1
- How to add additional data/images to Shanghaitech A and B ?
- What's the meaning of background_radio?
- Why the target defined in the code are not all ones
- Plot density heatmap
- "train.py: error: unrecognized arguments: --data_dir 1 --save_dir" a sample command mistake
- What is the `x` means in the dataloader ? HOT 1
- How do I preprocess JHU++ datasets?
- How to predict my own images? HOT 1
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 bayesian-crowd-counting.