зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-29 13:06:04 +02:00
instrucctions for windows
Этот коммит содержится в:
родитель
388ff19b38
Коммит
d8662b5d72
14
README.md
14
README.md
@ -29,6 +29,20 @@ pip install .
|
||||
```
|
||||
This will install the package and its dependencies locally.
|
||||
|
||||
## Installation on Windows
|
||||
|
||||
Some modules use [lavis]() to anaylse image content. To enable this functionality on Windows OS, you need to install some dependencies that are not available by default or can be obtained from the command line:
|
||||
1. Download [Visual C++](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) and install (see also [here](https://github.com/philferriere/cocoapi)).
|
||||
1. Then install the coco API from Github
|
||||
```
|
||||
pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"
|
||||
```
|
||||
1. Now you can install the package by navigating to the misinformation directory and typing
|
||||
```
|
||||
pip install .
|
||||
```
|
||||
in the command prompt.
|
||||
|
||||
# Usage
|
||||
|
||||
There are sample notebooks in the `misinformation/notebooks` folder for you to explore the package:
|
||||
|
||||
@ -22,4 +22,5 @@ https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.4.1
|
||||
jupyterlab
|
||||
spacytextblob
|
||||
textblob
|
||||
git+https://github.com/sloria/TextBlob.git@dev
|
||||
git+https://github.com/sloria/TextBlob.git@dev
|
||||
git+https://github.com/salesforce/LAVIS.git@main
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user