Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreagemelli committed Dec 14, 2022
1 parent 64a0102 commit 10580a3
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14,168 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# system
*.egg-info/
__pycache__/
*__pycache__/
*.py[cod]
*.eggs
build
Expand All @@ -19,4 +19,5 @@ esempi
examples
src/models/yolov5
src/models/checkpoints
prova*
prova*
notebooks
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ The model and pipeline aims at being task-agnostic on the domain of Document Und
- [ ] Transform Doc2Graph into a PyPI package

Roadmap:
- [Environment Setup](#environment-setup)
- [Training](#training)
- [Testing](#testing)
- [Cite this project](#cite-this-project)
- [`Doc2Graph`](#doc2graph)
- [Environment Setup](#environment-setup)
- [Training](#training)
- [Testing](#testing)
- [Cite this project](#cite-this-project)

## Environment Setup
Setup the initial conda environment
Expand All @@ -27,12 +28,12 @@ conda activate doc2graph
cd doc2graph
```

Then, install [setuptools-git-versioning](https://pypi.org/project/setuptools-git-versioning/) and doc2graph package itself.
Then, install [setuptools-git-versioning](https://pypi.org/project/setuptools-git-versioning/) and doc2graph package itself. The following has been tested only on linux: for different OS installations refer directly to [PyTorch](https://pytorch.org/get-started/previous-versions/) and [DGL](https://www.dgl.ai/pages/start.html) original documentation.

```
pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
pip install dgl-cu113 dglgo -f https://data.dgl.ai/wheels/repo.html
pip install setuptools-git-versioning && pip install -e .
pip install dglgo==0.0.1
pip install dgl-cu113==0.8.2 -f https://data.dgl.ai/wheels/repo.html
python -m spacy download en_core_web_lg
```

Expand Down
14 changes: 0 additions & 14 deletions configs/preprocessing.yaml

This file was deleted.

256 changes: 0 additions & 256 deletions notebooks/PAU.ipynb

This file was deleted.

Loading

0 comments on commit 10580a3

Please sign in to comment.