Questions tagged [python]
For questions related to AI implementation in the Python language
376 questions
0votes
0answers
23views
Is tensorflow broken?
I'm currently learning how to use JAX (I'm very new to machine learning), and I've been trying to replicate code examples from Grigory Sapunov's book Deep Learning with JAX, which is copyrighted in ...
0votes
0answers
19views
CLIPSeg: no change in performance metrics with a better convolutional decoder
I am training CLIPSeg on the Oxford IIIT pet dataset for semantic segmentation (3 classes: background, cat, dog). In short, what I do is I stick a decoder on the CLIP encoder. The encoder outputs: ...
0votes
0answers
24views
What is the best method to teach a new syntax to an AI model using Vertex AI?
I would like to teach a new language to an AI model like Gemini. This language is used in a third party tool, syntax is a modified form of TCL with the tool's own commands. What is the best way to ...
0votes
0answers
87views
Connect Open WebUI with Langflow using Open WebUI Function Pipe
I am trying to connect Langflow to Open WebUI so that I can use Langflow workflows inside Open WebUI as a model. This makes handling all the AI easy because its all based on Open WebUI. Below is the ...
0votes
0answers
49views
Meta-learning libraries that work on Google Colab in 2025 (Python 3.11.11)?
learn2learn (https://github.com/learnables/learn2learn, https://pypi.org/project/learn2learn/, http://slack.learn2learn.net/) used to work just fine until 2024, but Google Colab seems to have updated ...
0votes
1answer
55views
Can self-balancing AI models be designed using fractal patterns and Taoist equilibrium principles?
I'm investigating an alternative AI decision-making framework that draws inspiration from Taoist philosophy, fractal intelligence, and adaptive feedback loops. Unlike traditional AI models that depend ...
0votes
0answers
13views
Hugging face for image generation purposes
Is anyone know how to use Hugging face in python program.I am requesting,if anyone know then please share it how it can used on program
2votes
1answer
41views
Is a two-phase model (ensembling/stacking) a valid approach for forecasting product demand?
I am working on a project to forecast food sales for a corporate restaurant. Sales are heavily influenced by the number of guests per day, along with other factors like seasonality, weather conditions,...
0votes
0answers
32views
Why is training for the game 2048 not working well for me?
So i started training neural networks for the game 2048. Here is my code for using DQN algorithms to train. The gymnasium env code should be OK, so im not putting it here, but if you need, here is the ...
0votes
0answers
27views
Displaying an image in Yolo with its labels
I have a folder which contains yaml file, and folders for images and labels. A sample label looks like this: 0 0.119495 0.099003 0.523634 0.562208 0.501934 0.581202 0.237169 0.812176 0.000000 0.540345 ...
0votes
0answers
20views
Python - adding more timesteps makes my model "fail"
Hi! I have just made my first model in stable-baselines3 using pygame in Python. The game is about a ball reaching the highest platform out of three placed in the sky. Now - after a few days of trying ...
0votes
0answers
18views
How to Teach a Multimodal Model to Recognize Compass Directions Using Prompt Engineering?
I have the following compass images: Image 1: Image 2: For a human, it is straightforward to infer the directions from these images. For example: In Image 1, the directions are: Top → North Bottom → ...
0votes
0answers
21views
FL has very low Accuracy, and is worse than CL training
I am working on eavesdropper detection on B5G system with Deep Learning. The training dataset contains 1200 CSI images of legitimate and malicious UEs and an .xlsx file with their positions, power, ...
2votes
2answers
150views
Creating a genetic algorithm crossover function for 1:1 maps
I am trying to implement a crossover function for a genetic algorithm. V is a set of nodes. Just consider each node a unique string. $V_M$ and $V_F$ are each a set of nodes with no element in ...
1vote
3answers
143views
Why softmax/sigmoid use base e instead of 2?
Performing -ln(ε) in NumPy returns relatively small values like this: ...