Comments (8)
问题貌似出在这里,源代码默认的是100,应该是1吧
from promptad.
from promptad.
你是不是修改了backbone
…
------------------ Original ------------------ From: CaesarDingg @.> Date: Tue,Jun 11,2024 11:29 AM To: FuNz-0/PromptAD @.> Cc: Subscribed @.> Subject: Re: [FuNz-0/PromptAD] Execution error with run_cls.py (Issue #9) I executed the run_cls.py file according to the readme and encountered the following error (my env: win10 with rtx3060): Traceback (most recent call last): File "C:\Users\35314\Desktop\PromptAD\PromptAD\CLIPAD\model.py", line 236, in encode_text_embeddings x = x + self.positional_embedding.to(cast_dtype) RuntimeError: The size of tensor a (105) must match the size of tensor b (77) at non-singleton dimension 1 可能是显卡不支持? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>
没改,只尝试跑了visa
from promptad.
from promptad.
from promptad.
from promptad.
问题貌似出在这里,源代码默认的是100,应该是1吧
跑通了,谢谢!
from promptad.
这里
And by changing the n_ctx_ab to 1 can you just reproduce the reported results on ViSA?
from promptad.
Related Issues (16)
- can you provide a download link for this CVPR2024 paper? HOT 2
- code HOT 2
- Code HOT 1
- The results of few-shot anomaly detection will be different on different devices.
- May I know if the epoch is 1 or not? HOT 1
- Pre-trained Weights. HOT 1
- experiments requirements HOT 1
- run_seg.py shots有什么含义? HOT 1
- Screw class seems fail to reach the reported detetcion AUROC HOT 1
- datasets/seeds_mvtec/bottle/selected_samples_per_run.txt HOT 3
- 模型能否导出来onnx格式?
- 如何在自建数据集训练并测试? HOT 3
- test on one new image
- Can not reproduce the results HOT 6
- script run_cls.py has error
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 promptad.