Comments (4)
Thanks for your feedback. Do you modify the test.py?
I guess your Pred result is by summing the predicted output instead of by finding the local maxima.
Maybe you can solve the problem by adopting the latest version of test.py. The implementation of LMDS is in Line 154 of test.py.
When I run python test.py --test_dataset ShanghaiA --pre model_best.pth,
........
begin test
IMG_1.jpg Gt 172.00 Pred 231
IMG_10.jpg Gt 502.00 Pred 429
IMG_100.jpg Gt 391.00 Pred 430
IMG_101.jpg Gt 211.00 Pred 228
IMG_102.jpg Gt 223.00 Pred 255
IMG_103.jpg Gt 430.00 Pred 510
.......
from fidtm.
Thank you for your answer. I updated a test.py file, but this problem still exists, and I found that the results of not loading “/model/ShanghaiA/model_best.pth” and successfully loading “/model/ShanghaiA/model_best.pth” are the same result, I don’t think it’s the problem of LMDS.
#####################
./model/ShanghaiA/model_best.pth
=> no checkpoint found at './model/ShanghaiA/model_best.pth'
100000.0 0
Pre_load dataset ......
begin test
IMG_1.jpg Gt 172.00 Pred 177319
IMG_10.jpg Gt 502.00 Pred 193268
IMG_100.jpg Gt 391.00 Pred 91857
#####################
./model/ShanghaiA/model_best_57.pth
=> loading checkpoint './model/ShanghaiA/model_best_57.pth'
57.0989010989011 921
Pre_load dataset ......
begin test
IMG_1.jpg Gt 172.00 Pred 177319
IMG_10.jpg Gt 502.00 Pred 193268
IMG_100.jpg Gt 391.00 Pred 91857
IMG_101.jpg Gt 211.00 Pred 183484
IMG_102.jpg Gt 223.00 Pred 31301
In the Baidu-Disk you provided, the pre-training file of Part_A model is the model_best_57.pth
from fidtm.
The command "./model/ShanghaiA/model_best_57.pth" is right. It seems that the pre-trained model did not load successfully. However, I do not get any wrong when I utilize the same command. You can add my WeChat (liangdingkang) to let me know about this problem in detail.
from fidtm.
Thank you for your excellent work. I sent you a friend request. I am sorry to disturb you during the holidays.
from fidtm.
Related Issues (20)
- I-SSIM Loss HOT 10
- 模型在训练时损失很大 HOT 2
- HRNet vs. VGG-16 HOT 1
- 视频测试出现问题 HOT 3
- 你好,代码似乎只用了L2 Loss没有用SSIM? HOT 2
- 1-SSIM 损失
- 请问XX_pred_fidt.txt这个预测位置的文档怎么生成,代码里好像没见有 HOT 1
- Has anyone deployed FIDTM in C++ HOT 2
- 请问可以提供下 nwpu 的generate代码吗 HOT 3
- Training on custom dataset HOT 2
- Huge or normal loss while training? HOT 2
- ISSIM-Loss HOT 1
- Queries on custom dataset HOT 2
- How to train on NWPU-Crowd dataset? Can you provide data preprocessing script? thank you HOT 1
- Real Time tracking / counting? HOT 6
- mat怎么生成?
- Testing & demo counts discrepancy HOT 1
- Testing issue HOT 2
- Is there a light weight version for crowd counting ? HOT 2
- Experimental result problem
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 fidtm.