Skip to content

Commit

Permalink
limit model index
Browse files Browse the repository at this point in the history
  • Loading branch information
ForrestFire0 committed Nov 13, 2024
1 parent 29c6154 commit d4259e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/tools/modeluploader/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
</label>
<label for="modelindex">
Model index<br>
<small> Each team is allowed as many models as needed. Use a unique index (positive integer) for each model you wish to use.
<small> Each team is allowed as many models as needed. Use a unique index (positive integer between 0 and 255) for each model you wish to use.
</small>
<input type="number" id="modelindex" placeholder="Model Index" bind:value={modelIndex}
<input type="number" id="modelindex" placeholder="Model Index" bind:value={modelIndex} min={0} max={255}
aria-invalid={modelIndex <= 0}>
</label>
<small>The .pth file downloaded from your training run in the jupyter notebook.</small>
Expand Down

0 comments on commit d4259e8

Please sign in to comment.