Skip to content

Commit

Permalink
mv models/(voronoi -> voronoi_rf)
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Feb 3, 2024
1 parent 11c1306 commit 1bd5a00
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

sys.path.append(f"{ROOT}/models")

from voronoi import featurizer
from voronoi_rf import featurizer

__author__ = "Janosh Riebesell"
__date__ = "2022-11-26"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

sys.path.append(f"{ROOT}/models")

from voronoi import featurizer
from voronoi_rf import featurizer

__author__ = "Janosh Riebesell"
__date__ = "2022-10-31"
Expand Down
3 changes: 2 additions & 1 deletion site/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
}) as Record<string, ModelData | ModelData[]>
$: best_model = Object.entries(all_stats).reduce((best, [model_name, stats]) => {
let md = metadata[`../models/${model_name.toLowerCase()}/metadata.yml`]
const model_key = model_name.toLowerCase().replaceAll(` `, `_`)
let md = metadata[`../models/${model_key}/metadata.yml`]
if (!md && dev) {
console.warn(`No metadata found for ${model_name}`)
}
Expand Down

0 comments on commit 1bd5a00

Please sign in to comment.