- This event has passed.
7 PM – AI / ML – Shawn
October 17, 2023 @ 7:00 pm - 8:00 pm
Today We Did
- Started on streamlit app
- https://colab.research.google.com/drive/14wdE8R6MoDHzTVO5_tFw50Gjan73KJk-?usp=sharing
Homework
- Try changing the runtime of your Colab to T4 GPU
- Go to Runtime -> Change Runtime Type -> Select T4 GPU
- Then, go to Runtime -> Restart and run all
- This should make your execution a lot faster!
- Run the following code (run each of the code in a new cell):
- Try predicting some images using
learn.predict(files[0])
. Play around with the 0 to change around the images as well! - Run
learn.show_results()
a couple times. See how your learner does. - Try the following code:
from google.colab import files file = files.upload()
Try passing in the file you upload into learn.predict, and see how it does!
- Try predicting some images using
Email me at szhuang@ayclogic.com if you have any questions.