This: -removed model.pth from git tracking for now -added corn to dataset
This commit is contained in:
parent
34bfe78218
commit
5d7b68fdd6
2
App.py
2
App.py
@ -21,7 +21,7 @@ if bfs3_flag or Astar or Astar2:
|
|||||||
Pole.stoneFlag = True
|
Pole.stoneFlag = True
|
||||||
TreeFlag=False
|
TreeFlag=False
|
||||||
nnFlag=True
|
nnFlag=True
|
||||||
newModel=False
|
newModel=True
|
||||||
|
|
||||||
pygame.init()
|
pygame.init()
|
||||||
show_console=True
|
show_console=True
|
||||||
|
@ -9,7 +9,7 @@ from PIL import Image
|
|||||||
import random
|
import random
|
||||||
|
|
||||||
imageSize = (128, 128)
|
imageSize = (128, 128)
|
||||||
labels = ['carrot', 'potato', 'tomato'] # musi być w kolejności alfabetycznej
|
labels = ['carrot','corn', 'potato', 'tomato'] # musi być w kolejności alfabetycznej
|
||||||
fertilizer = {labels[0]: 'kompost', labels[1]: 'saletra amonowa', labels[2]: 'superfosfat'}
|
fertilizer = {labels[0]: 'kompost', labels[1]: 'saletra amonowa', labels[2]: 'superfosfat'}
|
||||||
|
|
||||||
torch.manual_seed(42)
|
torch.manual_seed(42)
|
||||||
|
Loading…
Reference in New Issue
Block a user