tests

Miscellaneous AI-related materials in Python

GitHub code, https://github.com/jinghuazhao/tests/blob/main/AI/python/

Local setup

The use of Python virtural environment is shown in MDL.sh.

1. Generative AI with Python and PyTorch, 2e

GitHub, https://github.com/PacktPublishing/Generative-AI-with-Python-and-PyTorch-Second-Edition

2. Math and Architectures of Deep Learning

GitHub, https://github.com/krishnonwork/mathematical-methods-in-deep-learning-ipython

The .ipynb files are largely well shown.

3. Math for Deep Learning

GitHub, https://github.com/rkneusel9/MathForDeepLearning

The sequence of function calling is illustrated by

4. Practical Deep Learning, 2e

GitHub code, https://github.com/rkneusel9/PracticalDeepLearning2E

5. Ultimate Neural Network Programming with Python

GitHub, https://github.com/OrangeAVA/Ultimate-Neural-Network-Programming-with-Python

Visualization of .ipynb

This is greatly faciliated by Google Colab, https://colab.research.google.com/.

Notably, follow “Runtime” –> “Change runtime type” to enable GPU and/or “Copy path” from the folder listing. In the case of Image_segmentation_pipeline.ipynb, it is also handy to invoke command palette via Ctrl-Shift-P and enter terminal.

This is done by posting the GitHub address to https://nbviewer.org, e.g., by replacing stable_diffusion.ipynb below with a .ipynb in the folder.

https://nbviewer.org/github/jinghuazhao/tests/blob/main/AI/python/stable_diffusion.ipynb.


  1. cambridge-ceu fork

    There are a number of changes in the forked repository, https://github.com/cambridge-ceu/Ultimate-Neural-Network-Programming-with-Python,

    • model/att_net.py is actually model/att_unet.py
    • changes of file paths
    • rename Chatper –> Chapter for 6-8, 10.

    which have now been merged into the master branch.