GithubHelp home page GithubHelp logo

test online model about trackit HOT 11 CLOSED

researchmm avatar researchmm commented on June 15, 2024
test online model

from trackit.

Comments (11)

JudasDie avatar JudasDie commented on June 15, 2024

Thanks for your great work!
I want to know how to test with online model like OceanV18on.pth?
I have tried python tracking/test_ocean.py --arch Ocean --resume snapshot/OceanV18on.pth --dataset VOT2018 --online True but didn't work.

Hi, could you provide a detailed screenshot?

from trackit.

zzzmm1 avatar zzzmm1 commented on June 15, 2024

===> init Siamese <====
load pretrained model from snapshot/OceanV18on.pth
remove prefix 'module.'
remove prefix 'feature_extractor.'
missing keys:[]
unused checkpoint keys:['classifier.filter_optimizer.log_step_length', 'classifier.feature_extractor.0.weight', 'classifier.filter_initializer.filter_conv.weight', 'classifier.filter_optimizer.label_map_predictor.weight', 'classifier.filter_initializer.filter_conv.bias', 'classifier.filter_optimizer.filter_reg', 'classifier.filter_optimizer.spatial_weight_predictor.weight', 'classifier.filter_optimizer.target_mask_predictor.0.weight']
====> warm up <====
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [00:01<00:00, 50.45it/s]

and then finished without test results

from trackit.

JudasDie avatar JudasDie commented on June 15, 2024

===> init Siamese <====
load pretrained model from snapshot/OceanV18on.pth
remove prefix 'module.'
remove prefix 'feature_extractor.'
missing keys:[]
unused checkpoint keys:['classifier.filter_optimizer.log_step_length', 'classifier.feature_extractor.0.weight', 'classifier.filter_initializer.filter_conv.weight', 'classifier.filter_optimizer.label_map_predictor.weight', 'classifier.filter_initializer.filter_conv.bias', 'classifier.filter_optimizer.filter_reg', 'classifier.filter_optimizer.spatial_weight_predictor.weight', 'classifier.filter_optimizer.target_mask_predictor.0.weight']
====> warm up <====
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [00:01<00:00, 50.45it/s]

and then finished without test results

Hi, the message has been well-received. I would give you feedback asap 😄.

from trackit.

JudasDie avatar JudasDie commented on June 15, 2024

===> init Siamese <====
load pretrained model from snapshot/OceanV18on.pth
remove prefix 'module.'
remove prefix 'feature_extractor.'
missing keys:[]
unused checkpoint keys:['classifier.filter_optimizer.log_step_length', 'classifier.feature_extractor.0.weight', 'classifier.filter_initializer.filter_conv.weight', 'classifier.filter_optimizer.label_map_predictor.weight', 'classifier.filter_initializer.filter_conv.bias', 'classifier.filter_optimizer.filter_reg', 'classifier.filter_optimizer.spatial_weight_predictor.weight', 'classifier.filter_optimizer.target_mask_predictor.0.weight']
====> warm up <====
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [00:01<00:00, 50.45it/s]

and then finished without test results

Hi, I think I have found the issue. Before running online, please check your results directory. If you run offline model before, it will generate a directory, namely result/VOT2018/Ocean. Please remove this directory.

from trackit.

zzzmm1 avatar zzzmm1 commented on June 15, 2024

Ok, thanks for your help !

from trackit.

zzzmm1 avatar zzzmm1 commented on June 15, 2024

Hi, Zhipeng.
I met another problem "RuntimeError: Error building extension '_prroi_pooling'".
Is there any pre requirements?

from trackit.

JudasDie avatar JudasDie commented on June 15, 2024

Hi, Zhipeng.
I met another problem "RuntimeError: Error building extension '_prroi_pooling'".
Is there any pre requirements?

Yes, the code will automatically compile precise ROI pooling. If you fail to compile it, please check the python environment and CUDA.

from trackit.

zzzmm1 avatar zzzmm1 commented on June 15, 2024

Hi, Zhipeng.
I met another problem "RuntimeError: Error building extension '_prroi_pooling'".
Is there any pre requirements?

Yes, the code will automatically compile precise ROI pooling. If you fail to compile it, please check the python environment and CUDA.

My environment was built as the install.sh, pytorch 1.1.0 with cuda 10.0, but still failed.
And I want to know which part in the online model will use precise ROI pooling?
Could I pre build precise ROI pooling first and then test online , will it makes any difference?

from trackit.

JudasDie avatar JudasDie commented on June 15, 2024

Hi, Zhipeng.
I met another problem "RuntimeError: Error building extension '_prroi_pooling'".
Is there any pre requirements?

Yes, the code will automatically compile precise ROI pooling. If you fail to compile it, please check the python environment and CUDA.

My environment was built as the install.sh, pytorch 1.1.0 with cuda 10.0, but still failed.
And I want to know which part in the online model will use precise ROI pooling?
Could I pre build precise ROI pooling first and then test online , will it makes any difference?

The online model use ROI pooling to extract target features, please read code in lib/models/online or refer to this. As for the compiling, I recommend you to the ROI pooling repo to find more information on compiling errors.

from trackit.

zzzmm1 avatar zzzmm1 commented on June 15, 2024

I found the problem is caused by the downloading zip file in the lib/models/online/external/PreciseRoIPooling instead of using git clone PreciseRoIPooling. It breaks the symbolic links.

from trackit.

n1-k0 avatar n1-k0 commented on June 15, 2024

@zzzmm1 Hi! I wonder how to solve this problem. I use git clone PreciseRoIPooling and put it into the lib/models/online/external/PreciseRoIPooling
but still have this error

from trackit.

Related Issues (20)

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.