Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lda_0.1.pt等文件 #17

Open
Liu-arch opened this issue Oct 30, 2023 · 6 comments
Open

lda_0.1.pt等文件 #17

Liu-arch opened this issue Oct 30, 2023 · 6 comments

Comments

@Liu-arch
Copy link

您好,我对您的工作十分感兴趣,并且有两个问题想询问您。
1.您如何获取到Classifier(训练过程)即:如何通过Transferring visual statistic knowledge(LDA)得到lda_0.1.pt文件,以及如何通过Transferring textual semantic knowledge得到classes_features的训练过程
2.相关pt文件distilbert-base-k400.pt和lda_0.1.pt没有给出。
十分期待您的回信

@whwu95
Copy link
Owner

whwu95 commented Oct 30, 2023

Transferring visual statistic knowledge: 对于 Kinetics-400 数据集的实验,我们从每个类别中采样了 60 个视频,大约占训练数据的 10%。这些视频都直接送给CLIP的visual encoder来得到video embeddings。利用这些embeddings和其对应的label,我们可以用LDA得到LDA coefficient,再用其作为classifier.

Transferring textual semantic knowledge: 用BERT直接对category names抽取text embeddings,并作为classifier.

@Liu-arch
Copy link
Author

Liu-arch commented Oct 30, 2023 via email

@whwu95
Copy link
Owner

whwu95 commented Oct 30, 2023

这里的4x3 view仅存在于test阶段,在运行指令后加入相关后缀即可,如--test_crops 3 --test_clips 4,和config中的num_sample无关啦。

sh scripts/run_test.sh configs/k400/k400_train_rgb_vitb-32-f8.yaml exp/k400/ViT-B/32/f8/last_model.pt --test_crops 3 --test_clips 4

@Liu-arch
Copy link
Author

Liu-arch commented Nov 14, 2023 via email

@Liu-arch
Copy link
Author

Liu-arch commented Nov 14, 2023 via email

@Liu-arch
Copy link
Author

Liu-arch commented Nov 14, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants