question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to reproduce the Rev-ViT validation accuracy

See original GitHub issue

Hi, Could you provide the script to reproduce the Rev-ViT validation accuracy?

I use the following command and cannot get the right accuracy.

python tools/run_net.py --cfg configs/ImageNet/REV_VIT_S.yaml \
DATA.PATH_TO_DATA_DIR data/imagenet/ \
TRAIN.ENABLE False \
TEST.CHECKPOINT_FILE_PATH ckpt/REV_VIT_S.pyth

I can run the above command only when comment the following lines https://github.com/facebookresearch/SlowFast/blob/5b5d9ecb15a54188943af0cbf5f7c420d8409018/tools/test_net.py#L131-L135 and https://github.com/facebookresearch/SlowFast/blob/5b5d9ecb15a54188943af0cbf5f7c420d8409018/tools/test_net.py#L225-L229

Finally :

[10/21 01:48:30][WARNING] meters.py:  390: clip count Ids=tensor([[   0,    1,    2,  ..., 1663, 1664, 1665]]) = tensor([0, 0, 0,  ..., 0, 0, 0]) (should be 30)                                                                                                                                                        
[10/21 01:48:30][INFO] logging.py:   99: json_stats: {"split": "test_final", "top1_acc": "0.00", "top5_acc": "100.00"}                                      [10/21 01:48:30][INFO] test_net.py:  261: Finalized testing with 10 temporal clips and 3 spatial crops                                                      [10/21 01:48:30][INFO] test_net.py:  283: _p22.43_f4.58_10a0.00 Top5 Acc: 100.00 MEM: 1.52 f: 4.5842

Could you give some hints? Thanks @haooooooqi @karttikeya

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tonysycommented, Nov 1, 2022

Great, many thanks.

1reaction
karttikeyacommented, Nov 1, 2022

Yes.

Additionally, here’s a few days old 80.4 REV ViT S model trained with configs/ImageNet/REV_VIT_S.yaml along with the training log, so it is easier to reproduce.

Model + Log: https://drive.google.com/drive/folders/1JYSpejA4ckOdEbbw3PFHrzT4YugiZTJU?usp=share_link

Read more comments on GitHub >

github_iconTop Results From Across the Web

Revit Model Review | Revit 2020 | Autodesk Knowledge Network
Use Autodesk Revit Model Review to validate the accuracy and consistency of Revit models.
Read more >
A Guide for Validating and Checking BIM Submittals | Massport
4.2 Open folder location where all project documents have been stored. 4.3 See “Condition:” column. There are 8 conditions to validate using File...
Read more >
How to speed up as-built BIM model verification | NavVis
Connect your Autodesk Revit BIM models to NavVis reality capture technology for a smoother as-built verification workflow from your desktop.
Read more >
BIM Model Checkers | GSA
Autodesk Revit Model Review is a plug-in for the Revit platform that validates the accuracy and consistency of your project(s), including correction options ......
Read more >
A Walk-through of Point Cloud to BIM with Real Life Project
Then after all the verification, insertion of the point cloud scan takes place into Revit. In case if there are several Point Cloud...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found