Embracing the Journey of Learning and Problem Solving Through AI and Python
Originally published here on June 21st: https://civitai.com/articles/5826/embracing-the-journey-of-learning-and-problem-solving-through-ai-and-python
Introduction
Welcome to this article about Embracing the Journey of Learning and Problem Solving!
Living with autism, CPTSD, ADHD, and Dissociative Identity Disorder presents unique challenges and opportunities for growth. As someone who has navigated these conditions, I've found solace and empowerment in learning new skills, particularly in the realm of AI and programming. My journey with AI, especially using tools like ChatGPT, has been transformative, offering not just solutions to problems but also a sense of accomplishment and purpose.
If you feel this is WAY too wordy and just want to explore the content i've created, scroll down or head to the "LINKS" section.
Discovering AI and Problem Solving
My foray into AI and Python programming began as a way to cope with and manage my mental health conditions. The structured logic of coding and the creative possibilities of AI provided a much-needed outlet for my energy and curiosity. Here are some of the projects I've been working on, each a testament to the power of persistence and problem-solving:
Python Port of the NodeJS Fancaps.net Scraper by Fannovel
Originally a NodeJS project by Fannovel and JSasviel (I’m not sure if I spelled that right), I aimed to convert it into a Python script and adapt it for use in a Jupyter notebook. This project is still in development but has started making progress. The CLI-based scripts function separately from the notebook interface. The learning curve was steep, but each step provided valuable insights into the needs of dataset creation. It hasn't quite taught me much about the learning curve of web scraping and Python, but it did teach me not to spend all day on one singular project. Maybe it hasn't yet—we'll see.
Oekaki Project
Inspired by lightweight, open-source drawing programs, I embarked on creating my own version using PyQt6. While the basics are functional, many features are still rudimentary. Developing this project taught me a great deal about the unique challenges posed by different operating systems, such as macOS. With my background in graphic design, I’m able to apply my knowledge of how UI/UX works based on programs I've used in the past.
Stable Diffusion Conversion Notebooks
I created and forked notebooks to facilitate the conversion of Stable Diffusion models (checkpoints) to diffusers. Based on the work of KohyaSS, Huggingface, Camenduru, Linaqruf, and others, these notebooks are always in development to ensure they remain up-to-date and functional. This project has deepened my understanding of model management and shared resources for problem solving. Many people on lower-end systems use diffusers as it uses fewer resources.
Backup Tools for Huggingface
These Jupyter and Colab notebooks are designed for backing up various types of content, from images to zip files and AI models. This project highlighted the importance of data management and the versatility of Jupyter notebooks for automating tasks.
In-Progress Quiz App in PyQt6
This quiz application, which allows for customizable quiz categories, has a functional structure but some issues with displaying answers correctly. This ongoing project emphasizes the iterative nature of programming and the importance of continuous testing and debugging.
Summon a Demon/Joke App
Inspired by the Beetlejuice character, this app was intended to humorously summon Beetlejuice by saying his name three times. Despite starting in CLI and transitioning through Tkinter to PyQt6, it currently crashes when attempting to load images. This project illustrates the fun side of programming and the challenges of incorporating multimedia elements.
Dataset Editing Tool
Initially developed in Tkinter and then moved to PyQt6, this tool allows for editing predefined text files from existing dataset folders. Although it mostly works, there are some issues with window resizing and theme compatibility. This was my first fully functional non-Jupyter/Colab environment program, aimed at supporting the AI generative art community.
Text File Maker
A simple CLI-based program that creates text files with specified keywords next to images. This tool is useful for quick and easy captioning and may eventually be integrated into the dataset editor for added functionality.
Collaboration and Community Support
I invite anyone with a programming background to fork and contribute to the content I post on my GitHub. While some projects may not be available on Civitai due to their nature, they are still valuable in their own right. The support and interaction with the Civitai community have been instrumental in my journey of self-education using Large Language Models (LLMs) and learning from my peers. Without Civitai and its users, I wouldn't be in this position of growth and learning.
The Therapeutic Benefits of Programming
Engaging in these projects has been immensely therapeutic. The process of creating new problems and solving them provides a structured way to channel my thoughts and energy. While I don't consider myself a professional programmer, I see myself as a patcher and problem solver, constantly learning and adapting.
Overcoming Educational Challenges
My background in graphic design, coupled with my interest in programming, has been a unique blend that fuels my creativity and logical thinking. Despite failing multiple programming courses, including Pascal and flowchart creation, I have persevered. My logic may be unconventional, but with the help of tools like ChatGPT, I've been able to navigate the complexities of coding and develop practical solutions.
The Importance of Using Original Documentation
When using AI tools like ChatGPT to learn programming, it's imperative to seek out the original documentation. Even ChatGPT acknowledges that it can make mistakes, just as humans do. Whether you're using an LLM to code in C++, Python, or NodeJS, consulting the official documentation helps you understand the functions and logic of the language. While I may not be able to code from scratch, learning the structure and functionality of the language has been invaluable.
Learning Resources
I've utilized resources like Stack Overflow, Hugging Face's documentation, and guides for tools such as Google Colab, Jupyter, Python, and PyQt6. Insights and ideas from peers, like Anzch here on Civitai, influenced my decision to integrate PyQt6 into my projects.
Personal Growth
Engaging with AI and programming isn't just about technical skills for me—it's a way to challenge myself beyond the usual routines. Instead of staring at blank walls or getting lost in video games (despite having plenty to play!), tackling new problems has been both interesting and sometimes exhausting. While autism isn't a puzzle piece (definitely not a fan of Autism Speaks!), navigating through different alters in our DID system while working on these projects has been an intriguing journey.
Challenges
Transitioning from basic HTML and CSS web development to programming has been a significant learning curve. Understanding functions and knowing the right questions to ask ChatGPT has been crucial in overcoming these hurdles.
Future Directions
Currently, I'm focused on finishing existing projects before diving into new ones. The list is ready, metaphorically speaking, and reminiscent of Remy from X-Men jokingly leaving his list in another pair of pants. Looking ahead, I'm considering applications that won't violate ToS for games like FFXIV—useful utilities or fun side projects. For now, the future lies in refining and expanding on the applications I've already started.
Community Engagement
Learning from others, regardless of whether similar projects exist, enriches my understanding. Every project, albeit partly developed with AI assistance, is a journey in itself. The Civitai community, along with my education at Otago Polytechnic and support from friends, has played a pivotal role in my learning journey. Imperfections and all, this collective experience continues to shape my approach and deepen my skills across various domains.
Conclusion
Learning and problem-solving with AI and Python has been a rewarding journey, one that has helped me manage my mental health conditions and provided a sense of purpose. Each project, whether completed or still in development, represents a step forward in my personal and professional growth. For anyone facing similar challenges, I encourage you to explore the world of AI and programming. The journey may be tough, but the rewards are well worth the effort.
About the Creator:
We are the Duskfall Portal Crew, a DID system with over 300 alters, navigating life with DID, ADHD, Autism, and CPTSD. We believe in AI’s potential to break down barriers and enhance mental health, despite its challenges. Join us on our creative journey exploring identity and expression.
Join Our Community:
Website: End Media
Discord: Join our Discord
Backups: Hugging Face
Support Us: Send a Pizza
Community Groups:
DeviantArt Group: DeviantArt Group
Subreddit: Reddit
Github Links
You're here to figure out just W-T-F iv'e been making and don't wanna read it? :)
Text Maker: https://github.com/duskfallcrew/scripts
Backup Tool: https://github.com/duskfallcrew/HuggingFace_Backup
Diffusers: SDXL https://github.com/duskfallcrew/sdxl-model-converter SD 1.5 https://github.com/duskfallcrew/sd15-to-diffusers
Summon a Demon: https://github.com/duskfallcrew/Beetlejuice_Summoning
Dataset Maker: https://github.com/duskfallcrew/Dataset-Tools
Fancaps Scaper: https://github.com/duskfallcrew/fancaps-scraper
Fix Model Keys: https://github.com/duskfallcrew/fix-model-sd15
Thank you for being part of our journey and supporting the Earth & Dusk.
Comments