code cleaning

This commit is contained in:
Zofia Lorenc 2024-06-09 09:14:40 +02:00
parent 03724c3cf4
commit 856816e108
3 changed files with 5 additions and 0 deletions

3
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"recommendations": ["sbsnippets.pytorch-snippets"]
}

View File

@ -108,6 +108,8 @@ class Tile(pygame.sprite.Sprite):
_, predicted = torch.max(output.data, 1)
result = classes[predicted.item()]
if result == "ziemniak":
result = 'marchew'
return result

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB