Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.4%) to scientific vocabulary
Repository
quantum transformer
Basic Info
- Host: GitHub
- Owner: itachixc
- License: mit
- Language: Python
- Default Branch: main
- Size: 79.4 MB
Statistics
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
Quantum Vision Transformer
Quantum vision transformer is a quantum-classical hybrid model that accelerates the vision transformer with quantum computing.
Installation
Qtransformer works on Linux, Windows and macOS. It requires Python 3.7+, CUDA 10.2+ and PyTorch 1.8+.
Step 1. Create a conda environment and activate it.
bash
conda create --name openmmlab python=3.8 -y
conda activate openmmlab
Step 2. Install PyTorch following official instructions, e.g.
On GPU platforms:
bash
conda install pytorch torchvision -c pytorch
On CPU platforms:
bash
conda install pytorch torchvision cpuonly -c pytorch
Step 3. Install qtransformer developed by mmpretrain
bash
git clone https://github.com/itachixc/qtransformer.git
cd qtransformer
pip install -U openmim && mim install -e .
Verify the installation
bash
python demo/image_demo.py demo/demo.JPEG resnet18_8xb32_in1k --device cpu
Train
bash
python tools/trains.py qtransformer_configs/vit_config_cifar10.py
Owner
- Name: Xue Cheng
- Login: itachixc
- Kind: user
- Company: USTC
- Repositories: 10
- Profile: https://github.com/itachixc
GitHub Events
Total
- Issues event: 1
- Watch event: 2
Last Year
- Issues event: 1
- Watch event: 2
Dependencies
- pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
- pytorch/torchserve latest-gpu build
- docutils ==0.18.1
- modelindex *
- myst-parser *
- pytorch_sphinx_theme *
- sphinx ==6.1.3
- sphinx-copybutton *
- sphinx-notfound-page *
- sphinx-tabs *
- sphinxcontrib-jquery *
- tabulate *
- mmcv >=2.0.0,<2.3.0
- mmengine >=0.8.3,<1.0.0
- pycocotools *
- transformers >=4.28.0
- albumentations >=0.3.2
- grad-cam >=1.3.7
- requests *
- scikit-learn *
- mmcv-lite >=2.0.0rc4
- mmengine *
- pycocotools *
- torch *
- torchvision *
- transformers *
- einops *
- importlib-metadata *
- mat4py *
- matplotlib *
- modelindex *
- numpy *
- rich *
- coverage * test
- interrogate * test
- pytest * test