Giter VIP home page Giter VIP logo

vs-reid's People

Contributors

lxx1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vs-reid's Issues

remove the color-map from annotations

"After download, you need to remove the color-map from annotations."
Hello, thank you for publishing the source code. Can you tell me what this step is for? Remove the color-map from annotations, what are the annotations next?

How much memory for running davis_test (Out of Memory)

I have tried to run davis_test by following your instruction. I would like to know, how much memory this one need for running? My GPU is 1080ti x2

I have encountered the problem out of memory at predict function, not even changing frame_fr_dir from full-resolution to training images. The error is:

THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1525909934016/work/aten/src/THC/generic/THCStorage.cu line=58 error=2 : out of memory
Traceback (most recent call last):
File "davis_test.py", line 518, in
main()
File "davis_test.py", line 421, in main
predict(1, frames_num, 1, range(instance_num))
File "davis_test.py", line 88, in predict
prob = model(image_patch, flow_patch, warp_label_patch)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/watt/workspace/pytorch/vs-reid/core/models/MP2S.py", line 131, in forward
x = self.backbone(x, p)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/watt/workspace/pytorch/vs-reid/core/models/backbones/sense_resnet.py", line 150, in forward
x = self.layer4(x)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/watt/workspace/pytorch/vs-reid/core/models/backbones/sense_resnet.py", line 73, in forward
residual = self.downsample(x)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/modules/batchnorm.py", line 49, in forward
self.training or not self.track_running_stats, self.momentum, self.eps)
File "/home/watt/anaconda2/envs/emask/lib/python3.6/site-packages/torch/nn/functional.py", line 1194, in batch_norm
training, momentum, eps, torch.backends.cudnn.enabled
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1525909934016/work/aten/src/THC/generic/THCStorage.cu:58

Array Size Mismatch error

This is after running the code on DAVIS test set.

result = prob_to_label(combine_prob(pred_prob[th]))
File "/media/abhishek/Data1/src_codes/VS-ReID/core/utils/bbox.py", line 46, in combine_prob
temp_prob[..., i] = prob[..., i * 2 - 1]
ValueError: could not broadcast input array from shape (480,854,3) into shape (480,854)

Out of range error in person reid loading

Hi again,

Could you perhaps give a look at the following error and say if it makes any sense to you. This shows up for the last instance..rest of them goes fine

main()
File "/media/abhishek/Data1/src_codes/VS-ReID/davis_test.py", line 405, in main
person_reid[th][i] = person_reid[th][i][:, [0, 1, 2, 3, 5]]
IndexError: list index out of range

About the 'xx.rflo'

Ask a stupid question: '.flo' means optical flow image,what does '.rflo' mean? And how to generate it?

Memory Error

I removed color map from annotations. Also generated bidirectional flow for DAVIS JPEGIMAGES folder.

I am getting following error when I try to test for test_dev list -

=> loading checkpoint 'models/MP2S.pth.tar'
=> loaded checkpoint
Traceback (most recent call last):
  File "davis_test.py", line 516, in <module>
    main()
  File "davis_test.py", line 399, in main
    pred_prob[th] = label_to_prob(np.zeros_like(label_0, np.uint8), instance_num)
  File "~/VS-ReID/core/utils/bbox.py", line 35, in label_to_prob
    prob = np.zeros(label.shape + (channels * 2, ))
MemoryError

When I checked GPU(Titan X) usage it is using only:


| NVIDIA-SMI 384.130                Driver Version: 384.130                   |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:01:00.0 Off |                  N/A |
| 23%   38C    P8    10W / 250W |   1169MiB / 11171MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |

|=============================================================================|
| 0 25396 C python3 1159MiB |
+-----------------------------------------------------------------------------+

Can you suggest what is going wrong? I assume it is not using gpu memory to full extent.

Index Error

Hi,
I am getting following error while trying to run test_dev from DAVIS dataset. I have generated bi-directional flows and also removed color map from annotations earlier.

=> loading checkpoint 'models/MP2S.pth.tar'
=> loaded checkpoint
Traceback (most recent call last):
File "davis_test.py", line 516, in
main()
File "davis_test.py", line 419, in main
predict(1, frames_num, 1, range(instance_num))
File "davis_test.py", line 50, in predict
warp_prob = flo.get_warp_label(flow1[th - 1], flow2[th], combine_prob(pred_prob[th - 1]))
File "~/VS-ReID/core/utils/flow.py", line 52, in get_warp_label
label2[valid, :] = label1[dx[valid].round().astype(int), dy[valid].round().astype(int), :]
IndexError: index 480 is out of bounds for axis 0 with size 480

Can you suggest what is happening?

Reproduction of results on CVPR2018 workshop

Hi, are all the results for classification, object search and person search the ones you use for the challenge? I tested them with optical flow results from PWC-Net and got a mean J&F score around 0.65. There is still a huge gap to 0.73, which you got in the challenge.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.