American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – AI / ML – Shawn

October 17, 2023 @ 7:00 pm - 8:00 pm

Today We Did
  1. Started on streamlit app
  2. https://colab.research.google.com/drive/14wdE8R6MoDHzTVO5_tFw50Gjan73KJk-?usp=sharing
Homework
  1. Try changing the runtime of your Colab to T4 GPU
    1. Go to Runtime -> Change Runtime Type -> Select T4 GPU
    2. Then, go to Runtime -> Restart and run all
    3. This should make your execution a lot faster!
  2. Run the following code (run each of the code in a new cell):
    1. Try predicting some images using learn.predict(files[0]). Play around with the 0 to change around the images as well!
    2. Run learn.show_results() a couple times. See how your learner does.
    3. 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!

Email me at szhuang@ayclogic.com if you have any questions.

Details

Date:
October 17, 2023
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights