-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationreproducibility
Description
Some fixes for better reproducibility
1. An installation guide
2. Specify which packets we need + python version + packets version
pip install tensorflow opencv-python pillow pygame pyautogui sklearn tflite scikit-learn tflite-runtime
3. Windows
Note that from python 3.10 tflite-runtime manual build is required.
A possible fix is to use Python 3.9.
4. Model upload
In the release would be great to have tflite model. The correct model directory must be Poke-Pi-Dex-main\app\resources\classifier_model. Remember to check the model filename (see pokemon_classifier_tflite.py).
5. Path fix
best_classes.npy must be moved from pokemon-classifier/src a /app/resources/classifier_model
If using the tflite model converted from PyTorch decomment the following line
img = np.transpose(img, [0, 3, 1, 2])mikyll
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationreproducibility