Skip to content

Commit

Permalink
added eval_knn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
clemsgrs committed Mar 7, 2024
1 parent 8d40180 commit 6f17006
Show file tree
Hide file tree
Showing 2 changed files with 476 additions and 0 deletions.
35 changes: 35 additions & 0 deletions dino/config/knn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
data:
features_dir:
query_csv: ''
test_csv: ''

output_dir: 'output'
experiment_name: 'eval'

batch_size_per_gpu: 256

nb_knn: 20
temperature: 0.07
save_features: false
label_name: ''

model:
arch: vit_small
patch_size: 16
pretrained_weights: ''
checkpoint_key: 'teacher'

speed:
use_cuda: true
num_workers: 16

wandb:
enable: true
project: 'vision'
username: 'vlfm'
exp_name: 'eval'
tags: ['${experiment_name}', 'knn', '${student.arch}']
dir: '/home/user'
group:
to_log:
resume_id:
Loading

0 comments on commit 6f17006

Please sign in to comment.