Sztuczna inteligencja- projekt semestr letni 2024
Go to file
2024-06-07 15:29:26 +02:00
Data dodatkowe dane 2024-05-12 21:39:01 +02:00
images This: -added road.jpg 2024-04-28 12:59:28 +02:00
testModels Added some trained models. 2024-06-04 13:18:15 +02:00
.gitignore This: -enchanced image dataset -fixed a bug where images where not loaded -fixed a bug where tractor wasnt moving -fixed a bug where training on gpu caused a crash 2024-05-26 13:58:48 +02:00
Akcja.py Wprowadzono poprawki do klas Roslina, Stan oraz Akcja. 2024-03-24 19:19:49 +01:00
App.py This: -changed label for decision -changed goaltressure for BFS3 2024-06-07 15:01:15 +02:00
AStar.py Made function to test speed of A*. 2024-04-29 14:05:26 +02:00
BFS.py This: -changed label for decision -changed goaltressure for BFS3 2024-06-07 15:01:15 +02:00
Climate.py This: -switched data for tree from strings to int -broke weather atributte to temperature and rain -added waterLevel for tractor 2024-05-11 13:24:09 +02:00
Colors.py Cleaned up main.py (by adding files app,colors,ui), added images for plants, added support for plant image in slot class, changed image loading by scaling it once at the start 2024-03-23 13:46:48 +01:00
Condition.py This: -improved quality of tree visualization -fixed a bug where season cycle was not working properly 2024-05-12 22:53:41 +02:00
displayControler.py New surfaces were made (mud, dirt, stone). 2024-04-24 22:16:34 +02:00
Drzewo.py ladowanie pola z pliku GA, rozpoznawanie zdjec na polu, decyzja o podlaniu 2024-06-07 00:02:36 +02:00
GeneticAlgorithm.py Made genetic algorithm and made a field using it. 2024-06-06 08:35:36 +02:00
Image.py ladowanie pola z pliku GA, rozpoznawanie zdjec na polu, decyzja o podlaniu 2024-06-07 00:02:36 +02:00
main.py dodatkowe dane 2024-05-12 21:39:01 +02:00
model_2_crops.pth This: -added trained model for 2 crops -added way to choose which model should we use 2024-06-04 12:40:39 +02:00
model_500_hidden.pth This: -improved printing of results -fixed a bug where picking tomato fertilizer caused crash -added trained model_500_hidden.pth trained with 500 hidden layers 2024-05-27 09:01:51 +02:00
neuralnetwork.py ladowanie pola z pliku GA, rozpoznawanie zdjec na polu, decyzja o podlaniu 2024-06-07 00:02:36 +02:00
Node.py Pierwsza wersja AStar 2024-04-25 22:56:18 +02:00
Osprzet.py dodado akcje do osprzetu i lekkie poprawki w klasie Akcja 2024-03-24 13:10:02 +01:00
pole_pop120_iter2500_True.json Made genetic algorithm and made a field using it. 2024-06-06 08:35:36 +02:00
Pole.py ladowanie pola z pliku GA, rozpoznawanie zdjec na polu, decyzja o podlaniu 2024-06-07 00:02:36 +02:00
readme.txt This: -changed readme.txt 2024-06-07 15:29:26 +02:00
Roslina.py This: -removed unused move in tree_move -changed display to table form in terminal -small refactoring due to code clean 2024-05-12 14:59:23 +02:00
Slot.py ladowanie pola z pliku GA, rozpoznawanie zdjec na polu, decyzja o podlaniu 2024-06-07 00:02:36 +02:00
Srodek.py dodano akcje oraz srodek, przykladowe srodki tworzone w akcjach 2024-03-23 23:17:51 +01:00
Stan.py This: -removed unused move in tree_move -changed display to table form in terminal -small refactoring due to code clean 2024-05-12 14:59:23 +02:00
Tractor.py ladowanie pola z pliku GA, rozpoznawanie zdjec na polu, decyzja o podlaniu 2024-06-07 00:02:36 +02:00
treeData.py Made an algorithm to generate data (treeData.py) 2024-05-11 18:30:14 +02:00
Ui.py This: -fixed cost sum in A* -added cost of direction change for A*2 -added function to change image of visited tile -added display of total cost 2024-04-28 12:58:58 +02:00

Required packages:
    pygame,matplotlib,sklearn,pandas
    How to install:
        pip install pygame
        pip install matplotlib
        pip install scikit-learn
        pip install pandas
How to run:
    For BFS3:
        -in App.py change bfs3_flag to True (other flags need to be disabled)
        -in Image.py change range in function return_random_plant to (0,5)
    For Astar:
        in App.py change Astar to True (other flags need to be disabled)
        -in Image.py change range in function return_random_plant to (0,7)
    For Astar2:
        -in App.py change Astar2 flag to True (other flags need to be disabled)
        -in Image.py change range in function return_random_plant to (0,7)
    For Tree:
        -in App.py change TreeFlag to True (other flags need to be disabled)
        -in Image.py change range in function return_random_plant to (0,5)
    For neuralnetwork:
        -in App.py change nnFlag to True (other flags need to be disabled)
    For final_show (neuralnetwork+tree+genetic algorithm)
        -in App.py change finalFlag to True (other flags need to be disabled)