PrDiMP18(epoch=90)在OTB100的测试结果

25 篇文章 0 订阅
20 篇文章 1 订阅

使用prdimp resnet18 batch_size/train_epoch=16/90
测试结果保存在tracking_results_me_prdimp18_epoch90/result_plots_me_prdimp18_epoch90

Running:  myexperiments  dimp_otb
Evaluating    1 trackers on    98 sequences
Tracker: dimp prdimp18 0 ,  Sequence: Basketball
/home/zhuzhu/anaconda3/envs/pytracking/lib/python3.7/site-packages/torch/nn/functional.py:2506: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))
/home/zhuzhu/anaconda3/envs/pytracking/lib/python3.7/site-packages/setuptools/distutils_patch.py:26: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
  "Distutils was imported before Setuptools. This usage is discouraged "
Using /tmp/torch_extensions as PyTorch extensions root...
Detected CUDA files, patching ldflags
Emitting ninja build file /tmp/torch_extensions/_prroi_pooling/build.ninja...
Building extension module _prroi_pooling...
ninja: no work to do.
Loading extension module _prroi_pooling...
/home/zhuzhu/anaconda3/envs/pytracking/lib/python3.7/site-packages/torch/nn/functional.py:2506: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))
FPS: 7.727511444573893
Tracker: dimp prdimp18 0 ,  Sequence: Biker
FPS: 7.847173580340794
Tracker: dimp prdimp18 0 ,  Sequence: Bird1
FPS: 8.893657259145469
Tracker: dimp prdimp18 0 ,  Sequence: Bird2
FPS: 5.805812780044595
Tracker: dimp prdimp18 0 ,  Sequence: BlurBody
FPS: 4.818240726897811
Tracker: dimp prdimp18 0 ,  Sequence: BlurCar2
FPS: 4.836515388034564
Tracker: dimp prdimp18 0 ,  Sequence: BlurCar3
FPS: 4.760432410544392
Tracker: dimp prdimp18 0 ,  Sequence: BlurCar4
FPS: 4.969314186633092
Tracker: dimp prdimp18 0 ,  Sequence: BlurFace
FPS: 4.704028309271217
Tracker: dimp prdimp18 0 ,  Sequence: BlurOwl
FPS: 4.988857383467421
Tracker: dimp prdimp18 0 ,  Sequence: Board
FPS: 5.1684801083314085
Tracker: dimp prdimp18 0 ,  Sequence: Bolt
FPS: 6.203996987085105
Tracker: dimp prdimp18 0 ,  Sequence: Bolt2
FPS: 5.108766276194107
Tracker: dimp prdimp18 0 ,  Sequence: Box
FPS: 5.173220849062715
Tracker: dimp prdimp18 0 ,  Sequence: Boy
FPS: 5.208890625875013
Tracker: dimp prdimp18 0 ,  Sequence: Car1
FPS: 5.213112133095645
Tracker: dimp prdimp18 0 ,  Sequence: Car2
FPS: 5.162961185009936
Tracker: dimp prdimp18 0 ,  Sequence: Car24
FPS: 5.1328342219033845
Tracker: dimp prdimp18 0 ,  Sequence: Car4
FPS: 5.024440504844992
Tracker: dimp prdimp18 0 ,  Sequence: CarDark
FPS: 5.203033254949213
Tracker: dimp prdimp18 0 ,  Sequence: CarScale
FPS: 5.239450810631649
Tracker: dimp prdimp18 0 ,  Sequence: ClifBar
FPS: 5.226339604019201
Tracker: dimp prdimp18 0 ,  Sequence: Coke
FPS: 5.182197007291728
Tracker: dimp prdimp18 0 ,  Sequence: Couple
FPS: 5.167867935499445
Tracker: dimp prdimp18 0 ,  Sequence: Coupon
FPS: 4.969590929614514
Tracker: dimp prdimp18 0 ,  Sequence: Crossing
FPS: 4.872100042263818
Tracker: dimp prdimp18 0 ,  Sequence: Crowds
FPS: 5.060498327746824
Tracker: dimp prdimp18 0 ,  Sequence: Dancer
FPS: 5.2972629670772795
Tracker: dimp prdimp18 0 ,  Sequence: Dancer2
FPS: 5.130591908250953
Tracker: dimp prdimp18 0 ,  Sequence: David
FPS: 5.37607505598417
Tracker: dimp prdimp18 0 ,  Sequence: David2
FPS: 5.283045633377346
Tracker: dimp prdimp18 0 ,  Sequence: David3
FPS: 4.839949676025724
Tracker: dimp prdimp18 0 ,  Sequence: Deer
FPS: 5.175268218595866
Tracker: dimp prdimp18 0 ,  Sequence: Diving
FPS: 5.087573650536402
Tracker: dimp prdimp18 0 ,  Sequence: Dog
FPS: 5.437585930033295
Tracker: dimp prdimp18 0 ,  Sequence: Dog1
FPS: 5.2151122170898345
Tracker: dimp prdimp18 0 ,  Sequence: Doll
FPS: 5.234646127750183
Tracker: dimp prdimp18 0 ,  Sequence: DragonBaby
FPS: 4.848550101930205
Tracker: dimp prdimp18 0 ,  Sequence: Dudek
FPS: 5.904113114103177
Tracker: dimp prdimp18 0 ,  Sequence: FaceOcc1
FPS: 5.177004833454326
Tracker: dimp prdimp18 0 ,  Sequence: FaceOcc2
FPS: 4.923078744863239
Tracker: dimp prdimp18 0 ,  Sequence: Fish
FPS: 5.210662764950423
Tracker: dimp prdimp18 0 ,  Sequence: FleetFace
FPS: 5.2814887284442795
Tracker: dimp prdimp18 0 ,  Sequence: Football
FPS: 5.076769521218531
Tracker: dimp prdimp18 0 ,  Sequence: Football1
FPS: 5.128683028354114
Tracker: dimp prdimp18 0 ,  Sequence: Freeman1
FPS: 5.491553018303047
Tracker: dimp prdimp18 0 ,  Sequence: Freeman3
FPS: 5.27806541993815
Tracker: dimp prdimp18 0 ,  Sequence: Freeman4
FPS: 5.472791083172269
Tracker: dimp prdimp18 0 ,  Sequence: Girl
FPS: 5.055748911278664
Tracker: dimp prdimp18 0 ,  Sequence: Girl2
FPS: 5.000246445563487
Tracker: dimp prdimp18 0 ,  Sequence: Gym
FPS: 5.330055348468353
Tracker: dimp prdimp18 0 ,  Sequence: Human2
FPS: 5.116972082077542
Tracker: dimp prdimp18 0 ,  Sequence: Human3
FPS: 5.210347124177741
Tracker: dimp prdimp18 0 ,  Sequence: Human4_2
FPS: 4.973871903902489
Tracker: dimp prdimp18 0 ,  Sequence: Human5
FPS: 5.344483150256791
Tracker: dimp prdimp18 0 ,  Sequence: Human6
FPS: 4.836891067132715
Tracker: dimp prdimp18 0 ,  Sequence: Human7
FPS: 5.344702433813309
Tracker: dimp prdimp18 0 ,  Sequence: Human8
FPS: 5.022180334255856
Tracker: dimp prdimp18 0 ,  Sequence: Human9
FPS: 5.077813780159249
Tracker: dimp prdimp18 0 ,  Sequence: Ironman
FPS: 6.088966040464652
Tracker: dimp prdimp18 0 ,  Sequence: Jogging_1
FPS: 5.446629701643903
Tracker: dimp prdimp18 0 ,  Sequence: Jogging_2
FPS: 5.588188550568816
Tracker: dimp prdimp18 0 ,  Sequence: Jump
FPS: 5.111814541656109
Tracker: dimp prdimp18 0 ,  Sequence: Jumping
FPS: 6.253130165653675
Tracker: dimp prdimp18 0 ,  Sequence: Lemming
FPS: 5.136072842377636
Tracker: dimp prdimp18 0 ,  Sequence: Liquor
FPS: 4.937563001818399
Tracker: dimp prdimp18 0 ,  Sequence: Man
FPS: 6.136192650055368
Tracker: dimp prdimp18 0 ,  Sequence: Matrix
FPS: 5.287474893720822
Tracker: dimp prdimp18 0 ,  Sequence: Mhyang
FPS: 5.284292213412316
Tracker: dimp prdimp18 0 ,  Sequence: MotorRolling
FPS: 5.168561560597457
Tracker: dimp prdimp18 0 ,  Sequence: MountainBike
FPS: 5.141766153763965
Tracker: dimp prdimp18 0 ,  Sequence: Panda
FPS: 5.323480549872028
Tracker: dimp prdimp18 0 ,  Sequence: RedTeam
FPS: 5.279025124468166
Tracker: dimp prdimp18 0 ,  Sequence: Rubik
FPS: 4.921720937514706
Tracker: dimp prdimp18 0 ,  Sequence: Shaking
FPS: 4.854368959129862
Tracker: dimp prdimp18 0 ,  Sequence: Singer1
FPS: 5.281358893782779
Tracker: dimp prdimp18 0 ,  Sequence: Singer2
FPS: 6.615886178928011
Tracker: dimp prdimp18 0 ,  Sequence: Skater
FPS: 5.291408791540283
Tracker: dimp prdimp18 0 ,  Sequence: Skater2
FPS: 5.149136304084703
Tracker: dimp prdimp18 0 ,  Sequence: Skating1
FPS: 5.683150065874676
Tracker: dimp prdimp18 0 ,  Sequence: Skating2_1
FPS: 5.377126339427785
Tracker: dimp prdimp18 0 ,  Sequence: Skating2_2
FPS: 5.2387359853956115
Tracker: dimp prdimp18 0 ,  Sequence: Skiing
FPS: 4.8641272967342
Tracker: dimp prdimp18 0 ,  Sequence: Soccer
FPS: 6.152372562313174
Tracker: dimp prdimp18 0 ,  Sequence: Subway
FPS: 5.306636470157064
Tracker: dimp prdimp18 0 ,  Sequence: Surfer
FPS: 4.809220441806413
Tracker: dimp prdimp18 0 ,  Sequence: Suv
FPS: 5.191166736827092
Tracker: dimp prdimp18 0 ,  Sequence: Sylvester
FPS: 5.17346558801507
Tracker: dimp prdimp18 0 ,  Sequence: Tiger1
FPS: 5.010238597070306
Tracker: dimp prdimp18 0 ,  Sequence: Tiger2
FPS: 5.120313204089866
Tracker: dimp prdimp18 0 ,  Sequence: Toy
FPS: 5.251336686716359
Tracker: dimp prdimp18 0 ,  Sequence: Trans
FPS: 5.211571693197138
Tracker: dimp prdimp18 0 ,  Sequence: Trellis
FPS: 5.609677368924607
Tracker: dimp prdimp18 0 ,  Sequence: Twinnings
FPS: 4.999375146128347
Tracker: dimp prdimp18 0 ,  Sequence: Vase
FPS: 5.149543875931017
Tracker: dimp prdimp18 0 ,  Sequence: Walking
FPS: 5.041233181135181
Tracker: dimp prdimp18 0 ,  Sequence: Walking2
FPS: 5.339896276837355
Tracker: dimp prdimp18 0 ,  Sequence: Woman
FPS: 5.274397929038404
Done
程序共运行:12537.000000

在这里插入图片描述
在这里插入图片描述在这里插入图片描述

### 回答1: 警告:自.4.版本以来,当mode=bilinear时,默认的上采样行为已更改为align_corners=false。如果需要旧的行为,请指定align_corners=true。有关详细信息,请参阅nn.upsample的文档。 ### 回答2: 这个问题是由于PyTorch在0.4.0版本中更改了默认的上采样行为而引起的。在之前的版本中,上采样操作(使用双线性插值)假设输入和输出的四个角是对齐的,也就是“align_corners”设置为“True”。但是在0.4.0版本中,为了统一与其他深度学习库的行为,PyTorch默认将“align_corners”设置为“False”。 这个变更可能会导致某些模型在升级到较新的PyTorch版本时出现性能下降或预测结果变差的问题。如果您使用的是旧版本的PyTorch以及依赖于双线性插值的模型或操作,您需要显式地将“align_corners”设置为“True”来恢复旧的行为。 在PyTorch中,可以使用“nn.upsample”函数来进行上采样操作,该函数有一个“align_corners”参数。要将“align_corners”设置为“True”,只需在调用“nn.upsample”时将其设置为“True”。例如,以下代码片段展示了如何使用“nn.upsample”进行上采样,并将“align_corners”设置为“True”: ```python import torch.nn.functional as F # 上采样输入,将 align_corners 设置为 True upsampled = F.interpolate(input, scale_factor=2, mode='bilinear', align_corners=True) ``` 总之,如果您的模型依赖于双线性插值的操作并且升级了PyTorch版本,请确保将“align_corners”参数设置为正确的值,以确保模型的正确性和性能。 ### 回答3: 首先,警告指出的是在PyTorch的版本0.4.0及其之后,当使用双线性插值(mode=bilinear)进行上采样操作时,默认的行为(即align_corners=false)已经被改变了。这里的align_corners是指是否将原始图像的四个角落(即如图所示的A、B、C、D点)和将其转换为目标大小的四个角落(即如图所示的A'、B'、C'、D'点)必须完全对齐。如果使用了新的默认行为,在目标大小的四个角落中可能会出现略微的偏差。 如果想要保留旧的行为,需要明确地指定align_corners=true。这可以通过在nn.upsample函数的文档中查看详细信息来实现。 具体来说,根据上采样的目的,可能需要考虑是否需要保留原始图像的角落点。如果不是细粒度的任务或不关心角落点的位置,则可以使用新的默认行为。但是,对于需要精确地对齐图像的任务(例如图片合成、图像分割等),则需要保留旧的行为。 总之,正确理解和使用上采样操作非常重要,特别是在需要精确的图像对齐时。需要熟悉PyTorch的关于align_corners的默认行为,以及如何明确地控制上采样行为。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值