Skip to content
Snippets Groups Projects
Commit dec4f95f authored by Bruce Cyusa Mukama's avatar Bruce Cyusa Mukama
Browse files

Adding examples to demo

parent 136d549b
No related branches found
No related tags found
No related merge requests found
...@@ -4,5 +4,6 @@ IgnoreMe/* ...@@ -4,5 +4,6 @@ IgnoreMe/*
results/* results/*
models/YOLOv8/*/ models/YOLOv8/*/
src/__pycache__/ src/__pycache__/
__debug/*
.vscode .vscode
yolov8n.pt yolov8n.pt
\ No newline at end of file
# Copula-based conformal bounding box prediction # Copula-based conformal bounding box prediction
## Full report ## Full report
- [Copula-based conformal prediction for object detection: a more efficient approach](full_report.pdf) - [Copula-based conformal prediction for object detection: a more efficient approach](@PMLR/COPA2024/our_paper.pdf)
<!-- 🚩 - Checkout demo.ipynb for more details about the results ⚠️ --> <!-- 🚩 - Checkout demo.ipynb for more details about the results ⚠️ -->
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
## How to reproduce experiments ## How to reproduce experiments
- run setup.sh - run setup.sh
- fill experiments.yaml
- run experiments.py - run experiments.py
- run demo.ipynb - run demo.ipynb
......
This diff is collapsed.
...@@ -23,6 +23,6 @@ OD algos: ...@@ -23,6 +23,6 @@ OD algos:
YOLOv8 D.: True YOLOv8 D.: True
training: training:
epochs: 20 epochs: 20
validation sample size: 500 validation sample size: 500 #only to check for overfitting
from_scratch: False from_scratch: False
device: 'cuda:2' device: 'cuda:2'
File deleted
...@@ -126,7 +126,8 @@ class SyntheticResiduals(Dataset): ...@@ -126,7 +126,8 @@ class SyntheticResiduals(Dataset):
def gen_uncorrelated_residues(self, max: List = [2.8, 2.5, 8, 2.5], def gen_uncorrelated_residues(self, max: List = [2.8, 2.5, 8, 2.5],
min: List = [0] * 4) -> np.ndarray: min: List = [0] * 4) -> np.ndarray:
residues = np.random.uniform(min, max, (1, len(self.means))) n = self.size
residues = np.random.uniform(min, max, (n, len(self.means)))
return residues return residues
def gen_correlated_residues(self,) -> np.ndarray: def gen_correlated_residues(self,) -> np.ndarray:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment