Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to use this demo to reappear the results on ETHZ dataset but the results aren't good #31

Open
Sunny-Yu opened this issue Sep 4, 2018 · 9 comments

Comments

@Sunny-Yu
Copy link

Sunny-Yu commented Sep 4, 2018

Hello, I want to use this demo to reappear the results on ETHZ dataset. The results of the demo data are OK, but when I use the demo code on ETHZ, the results aren't good enough. The most prominent point is there are several bounding boxes on the same people at on frame. It seems that the results lack of nms treatment. I use the rectangles120x300.pom from https://github.com/pierrebaque/generatePOMfile and also use the rectangles480x1440.pom from ETHZ dataset, but both of them can't reappear the results on the paper. I think maybe some parameters should be modify from demo config. I hope you can help me which parameters should be noted. Thank you!

@GehenHe
Copy link

GehenHe commented Sep 9, 2018

This also disturb me a lot

@pierrebaque
Copy link
Owner

Hello,

Thank you for your message. What are the parameters that you don't manage to set? What kind of results do you get? Does it look like the rectangle indices are not correct somehow or the tracking area is not good?

I also used rectangles120x300.pom. I put the file back directly in the Git here.

In RunPOM.ipynb, you should use something like
a,p,alpha_black = 1.5,250,0.8

Did you check the background/foreground and parts segmentation? Do they look reasonable?

You can send me some detection images if you want, maybe I can try to guess what is wrong. Did you retrain everything?

@gooa1121 do you have an idea of what may have changed?

If it really does not work, I will send you directly my trained models.

Best,
Pierre

@Sunny-Yu
Copy link
Author

Hello,

Thank you for your reply.

Firstly, about the parameters, I want to know if the parameters of Config.py need to be modified when I detect ETHZ dataset. For example, H_grid and W_grid should be changed to 120 and 300. The Config.py is from the tozip file. I want to know which parameters are also to be modified.

Secondly, about the result from RunPOM.ipynb, I realize that I mistakenly used the foreground results as detect results after reading your reply. I attached the foreground result to the following which is generated by the code 'room.plot_output(Q_out,0,0,8,thresh = 0.95,iteration=-1)', and a,p,alpha_black = 1.5,200,0.5.
0004
So, another question, which part's result is the detect result? The Run POM? Or the Run Baseline?

Thank you very much for helping me. You are so kind.

Best,
Sunnyu

@gooa1121
Copy link
Collaborator

Hi,
About Config file, if you're not retraining any new model, it should be fine to keep other parameters unchanged except POM size and POM file path.
Trying different combination of values for parameters a, p, alpha_black might help. You can also change the iteration parameter to other values in room.plot_output to check if the body part segmentation works well.

Best,
Pei-I

@wanmok
Copy link

wanmok commented May 11, 2019

Hi,

If I want to run Wildtrack_dataset, do I have to change something? I encountered some strange dimension mismatch problem. It says:

Apply node that caused the error: GpuDownsampleFactorMax{(2, 2),True}(GpuElemwise{Composite{maximum(i0, (i1 + i2))}}[(0, 1)].0)
Toposort index: 352
Inputs types: [CudaNdarrayType(float32, 4D)]
Inputs shapes: [(1, 64, 1072, 1920)]
Inputs strides: [(0, 2064228, 1922, 1)]
Inputs values: ['not shown']
Outputs clients: [[GpuDownsampleFactorMax{(2, 2),True}(GpuDownsampleFactorMax{(2, 2),True}.0), GpuContiguous(GpuDownsampleFactorMax{(2, 2),True}.0)]]

HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag 'optimizer=fast_compile'. If that does not work, Theano optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.

Could you give any clue to fix this? Thanks!

@TTTREE
Copy link

TTTREE commented Mar 25, 2020

Hi,

If I want to run Wildtrack_dataset, do I have to change something? I encountered some strange dimension mismatch problem. It says:

Apply node that caused the error: GpuDownsampleFactorMax{(2, 2),True}(GpuElemwise{Composite{maximum(i0, (i1 + i2))}}[(0, 1)].0)
Toposort index: 352
Inputs types: [CudaNdarrayType(float32, 4D)]
Inputs shapes: [(1, 64, 1072, 1920)]
Inputs strides: [(0, 2064228, 1922, 1)]
Inputs values: ['not shown']
Outputs clients: [[GpuDownsampleFactorMax{(2, 2),True}(GpuDownsampleFactorMax{(2, 2),True}.0), GpuContiguous(GpuDownsampleFactorMax{(2, 2),True}.0)]]

HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag 'optimizer=fast_compile'. If that does not work, Theano optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.

Could you give any clue to fix this? Thanks!
I am trying to do the same thing about running Wildtrack_dataset. Have you succeeded?

@Sunny-Yu
Copy link
Author

Sunny-Yu commented Mar 25, 2020 via email

@leconghieu99
Copy link

@Sunny-Yu can you please send me the .zip files. Looks like the link is broken. Email: [email protected]

@Sunny-Yu
Copy link
Author

Sunny-Yu commented Feb 9, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants