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

Tensorflow version issue solved #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ausmtomar
Copy link

1.) load_and_prep_image(image_path) and pred_and_plot(model, img, class_names) are functions that were defined in both app.py and pred.py i commented them out of app.py and imported pred.py in app.py.

2.) To display of the image with the prediction in matplotlib i added 3 lines of code

3.) In data.py i adjusted the path to relative path

4.) In pred.py i changed the parameter of tf.io.read_file(img) to tf.io.read_file(filename) which is now correct.

5.) i added the return pred_class

6.) I added all the modules required in the requirements.txt. You can now download all the modules at once by pip install -r requirements.txt

7.) also i updated tensorflow version

test
.

1.) load_and_prep_image(image_path) and pred_and_plot(model, img, class_names) are functions that were defined in both app.py and pred.py i commented them out of app.py and imported pred.py in app.py.

2.) To display of the image with the prediction in matplotlib i added 3 lines.

3.) In data.py i adjusted the path to relative path

4.) In pred.py i changed the parameter of tf.io.read_file(img) to tf.io.read_file(filename) which is now correct.

5.) i added the return pred_class

6.) I added all the modules required in the requirements.txt. You can now download all the modules at once by pip install -r requirements.txt

7.) also i updated tensorflow version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant