Comments (3)
Hi,
I find that the pixel_means and stds comes from src/fpn/fpn/model/fpn/resnet.py
347L
cfg.PIXEL_MEANS = 255 * np.array([[[0.485, 0.456, 0.406]]])
cfg.PIXEL_STDVS = 255 * np.array([[[0.229, 0.224, 0.225]]])
When using FPNResNet model, pixel means and stds will be hard coded other than load from cfg file. How can I reproduced your fpn model?
from tracking_wo_bnw.
I trained a FPN model which is compatible to your release model.
The problem is that when pretrained is set True, RPN will try to download weights from aws and hard code pixel means and stvds.
Fix is simple as following:
+++ b/trainval_net.py
@@ -334,11 +334,11 @@ if name == 'main':
# initilize the network here.
if args.net == 'res101':
-
FPN = FPNResNet(imdb.classes, 101, pretrained=True)
-
elif args.net == 'res50':
FPN = FPNResNet(imdb.classes, 101, pretrained=False)
-
FPN = FPNResNet(imdb.classes, 50, pretrained=True)
-
elif args.net == 'res152':
FPN = FPNResNet(imdb.classes, 50, pretrained=False)
-
FPN = FPNResNet(imdb.classes, 152, pretrained=True)
-
else:
FPN = FPNResNet(imdb.classes, 152, pretrained=False)
print("Network is not defined.")
pdb.set_trace()
from tracking_wo_bnw.
Hello @withinnoitatpmet . Have you reproduced the reported result successfully?
from tracking_wo_bnw.
Related Issues (20)
- How do you train Tracktor itself? HOT 2
- No module named 'torchreid' HOT 6
- What does the various column items in det.txt file represent? HOT 9
- Should I train det and reid for tracktor? HOT 2
- can
- can't find the module named "tracktor.config" HOT 3
- Looking for more training details of given models HOT 1
- No such file or directory: ...../model_epoch_27.model' HOT 5
- Train reid and detector for custom objects /labels ( not people/cars) HOT 6
- how to reproduce the results of this repository on colab HOT 2
- Online or Offline method HOT 2
- requirments issue HOT 1
- About put the own dataset detection result to do tracker
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument tensors in method wrapper___cat) HOT 1
- How to train your own dataset? HOT 1
- Is box regression method predict_boxes applicable to tracking multiple objects, number of interested objects>2
- Issues in requirements.txt
- I cannot open the link of Train and test object detector (Faster R-CNN with FPN) on Google Colab notebook HOT 4
- ModuleNotFoundError: No module named 'mask_rcnn_tracktor' HOT 3
- TrackFormer: Multi-Object Tracking with Transformers HOT 1
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 tracking_wo_bnw.