Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix app and documentation for better reproducibility #2

Open
TryKatChup opened this issue Mar 8, 2023 · 0 comments
Open

Fix app and documentation for better reproducibility #2

TryKatChup opened this issue Mar 8, 2023 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation reproducibility

Comments

@TryKatChup
Copy link
Owner

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])
@TryKatChup TryKatChup added bug Something isn't working documentation Improvements or additions to documentation reproducibility labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation reproducibility
Projects
None yet
Development

No branches or pull requests

1 participant