Comments (7)
Hi @genius9527
I also used COCO 2017 Keypoint data for training and test.
Sorry I don't know where your problem actually is. Have you modified any code?
Maybe you can make sure you have downloaded the full validation dataset and delete COCO_2017_val.json
file(in annotations
folder) and run label_transform.py
(in ROOT_DIR
) again to regenerate it.
from pytorch-cpn.
ok,I will try. Can you pass your pre-training model to Baidu Cloud? I can't download anything on Google Cloud Drive.Thanks
from pytorch-cpn.
@genius9527 Sorry to tell that I cannot upload the model to Baidu Cloud due to some limitations. If you still have the problem on downloading the pre-trained model, I can provide you the pre-trained model by Tencent weiyun
: COCO.res50.256x192.CPN
from pytorch-cpn.
@GengDavid thank you,I used the pre-training model you provided and found that the current test results are normal. The AP exceeded 0.7.But now I have a new problem, I try to use COCO2017/test2017 as the test data, and image_info_test-dev2017.json as the annotations. When I use test.py to test, the following problem occurs:
=> loaded checkpoint 'checkpoint/CPN256x192.pth.tar' (epoch 29)
testing...
0it [00:00, ?it/s]
loading annotations into memory...
Done (t=0.05s)
creating index...
index created!
Loading and preparing results...
Traceback (most recent call last):
File "test.py", line 159, in
main(parser.parse_args())
File "test.py", line 137, in main
eval_dt = eval_gt.loadRes(result_file)
File "/media/uestc/4T_1/pytorch-cpn-master/256.192.model/../cocoapi/PythonAPI/pycocotools/coco.py", line 318, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range
Have you ever encountered such a problem? Thanks.
from pytorch-cpn.
I have not met this problem before. But it seems that there was something wrong in testing process since the test time was 00:00.
from pytorch-cpn.
@GengDavid emmmm,So, have you tested it on the test dataset, how is it tested?
from pytorch-cpn.
The test codes provided are not suit for evaluation on COCO test dataset. If you want to test it on test-dev, you may need to prepare the human detection results on test-dev and save it as the format shown in #2 first. And then you need to comment out line 136-141
(which use coco tool to evaluate the results)in test.py
. Finally, you can submit the results to COCO submission platform to get the evaluation result.
This is a pipeline for testing on test-dev. Some other changes are also needed. For example, you need to modify test_config
to load the right dataset and detection bbox.
from pytorch-cpn.
Related Issues (20)
- about the cpu utilized percent HOT 2
- About the utils/imutils.py line:41 HOT 1
- a question about test.py
- Unable to extract pretrained model archive HOT 1
- About the structure of refineNet
- mobilenet is not fast
- Using just GlobalNet
- nn.Upsampling( ) and pytorch version HOT 1
- where is the file of "COCO_2017_train.json" ,"COCO_2017_val.json", "val_dets.json"? i can't find them in the coco dataset HOT 1
- Results is
- About mscocoMulti.py
- some question about the human detector.
- test.py gets stuck when computing output HOT 1
- half of the output predictions are wrong HOT 2
- pre-trained model
- Config.py
- RuntimeError: The size of tensor a (512) must match the size of tensor b (256) at non-singleton dimension 1
- Yeet
- Ye
- How can get the high score? HOT 2
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 pytorch-cpn.