microsoft / microsoft/Graphormer
An error occurs"TypeError: 'type' object is not subscriptable" when I run an example。
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
I clone the nearest code from Graphormer branch [2b0b9a7],and I install fairseq branch[@ 98ebe4f].The virtual environments was shown,.But when I run the code, it compiles error:
**

**
`Package Version
antlr4-python3-runtime 4.8
bitarray 2.5.1
certifi 2022.5.18.1
cffi 1.15.0
charset-normalizer 2.0.12
colorama 0.4.4
Cython 0.29.30
dgl 0.7.2
fairseq 1.0.0a0+98ebe4f
googledrivedownloader 0.4
hydra-core 1.0.7
idna 3.3
importlib-metadata 4.11.4
importlib-resources 5.7.1
isodate 0.6.1
Jinja2 3.1.2
joblib 1.1.0
littleutils 0.2.2
lmdb 1.3.0
MarkupSafe 2.1.1
networkx 2.6.3
numpy 1.21.6
ogb 1.3.2
omegaconf 2.0.6
outdated 0.2.1
pandas 1.3.5
pip 21.2.2
portalocker 2.4.0
protobuf 3.20.1
pycparser 2.21
pyparsing 3.0.9
python-dateutil 2.8.2
python-louvain 0.16
pytz 2022.1
PyYAML 6.0
rdflib 6.1.1
rdkit-pypi 2021.9.3
regex 2022.4.24
requests 2.27.1
sacrebleu 2.1.0
scikit-learn 1.0.2
scipy 1.7.3
setuptools 61.2.0
six 1.16.0
tabulate 0.8.9
tensorboardX 2.4.1
threadpoolctl 3.1.0
torch 1.9.1+cu111
torch-geometric 1.7.2
torch-scatter 2.0.9
torch-sparse 0.6.12
torchaudio 0.9.1
tqdm 4.64.0
typing_extensions 4.2.0
urllib3 1.26.9
wheel 0.37.1
zipp 3.8.0
`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the example from Graphormer commit 2b0b9a7 with fairseq commit 98ebe4f and inspect the TypeError traceback shown in the issue. Compare the installed package versions with the example's requirements and identify the failing entry point; done means the example runs without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100