https://github.com/comet-ml/comet-detectron
Example for working with Detectron and Comet
https://github.com/comet-ml/comet-detectron
Last synced: about 1 year ago
JSON representation
Example for working with Detectron and Comet
- Host: GitHub
- URL: https://github.com/comet-ml/comet-detectron
- Owner: comet-ml
- Created: 2021-05-13T17:12:03.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-17T15:55:53.000Z (about 5 years ago)
- Last Synced: 2025-04-03T02:54:46.505Z (about 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 3
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Comet and Detectron
This project demonstrates how to setup Comet to log parameters and metrics from Detectron. We will run the example from this [Colab Notebook](https://colab.research.google.com/drive/16jcaJoc6bCFAQ96jDe2HwtXj7BMD_-m5?usp=sharing)
## Install Dependencies
```
pip install -r requirements.txt
```
## Install Detectron2
```
pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.8/index.html
```
## Download Data
```
chmod +x download_data.sh
./download_data.sh
```
## Set Comet Environment Variables
```
export COMET_API_KEY="Your Comet API Key"
export COMET_PROJECT_NAME=detectron
```
## Run Training with Detectron
```
python train.py
```