You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple script to import [EPRI Distribution Inspection Imagery](https://www.kaggle.com/datasets/dexterlewis/epri-distribution-inspection-imagery) to Diffgram
4
+
5
+
So far we, it only imports annotation with type **polygon** and skips annotations with type **line** (polyline type of instance doesn't exist on Diffgram yet), but that will be improved in future version
6
+
7
+
## Usage
8
+
9
+
1. Create and activate virtual environment
10
+
11
+
```
12
+
virtualenv your-env-name
13
+
source your-env-name/bin/activate
14
+
```
15
+
16
+
2. Install dependencies from **requirements.txt**:
17
+
18
+
```
19
+
pip install -r requirements.txt
20
+
```
21
+
22
+
3. Download [annotations file](https://publicstorageaccnt.blob.core.windows.net/drone-distribution-inspection-imagery/Overhead-Distribution-Labels.csv) and place it to the root folder
23
+
24
+
4. Download images and unzip them to **images** folder
25
+
26
+
5. Create .env file and set environmental variables:
0 commit comments