markin-wang / clevit Goto Github PK
View Code? Open in Web Editor NEW[IJCAI 2023] CLE-ViT: Contrastive Learning Encoded Transformer for Ultra-Fine-Grained Visual Categorization.
License: MIT License
[IJCAI 2023] CLE-ViT: Contrastive Learning Encoded Transformer for Ultra-Fine-Grained Visual Categorization.
License: MIT License
Hello, when I run sh scripts/run_gene.sh
, when loading the pre-trained model, the following error occurs:
traceback : Traceback (most recent call last):
File "/home/image/anaconda3/envs/plant_diseases/lib/python3.9/site-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 345, in wrapper
return f(*args, **kwargs)
File "/home/image/plant_disease/CLEViT/main.py", line 94, in main
load_pretrained(config, model_without_ddp, logger)
File "/home/image/plant_disease/CLEViT/utils.py", line 206, in load_pretrained
relative_position_bias_table_current = model.state_dict()[k]
KeyError: 'layers.2.blocks.6.attn.relative_position_bias_table'
Hi Author, We are having the following problem with the reproduction process.
scripts/run_gene.sh: line 2: logs/gene/gene_sb7_fullb_np2_lr2e-3_mul5_bs12_448_ep200_linear_ee2: No such file or directory
tail: cannot open 'logs/gene/gene_sb7_fullb_np2_lr2e-3_mul5_bs12_448_ep200_linear_ee2' for reading: No such file or directory
tail: no files remaining
Hi, I appreciate your work very much. Can you open source the attention visualization part of the code?
感谢你做出的工作,我是一个初学者,我需要如何进行对比学习预训练,如何用在我自己的细粒度视觉分类数据集上呢?是修改main.py中的参数is_pretrain吗?
: )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.