I was creating a basic calculator. In this calculator you have to enter two numbers and operator(to divide multiply add or subtract). I wanted to make it so that if you entered a non-integer in the number selection then it would've told you that...
I want to run a script on a Raspberry Pi Zero that collects data and saves the data in an Excel file. For this, I am using pandas. The same script worked on a Raspberry Pi model 4 B before. However now I get this Error:
numpy: Error importing numpy:...
I am trying to open Ms Edge in Elevated Mode, but I am unable to do so. (Windows 11)
I have tried to open it manually too, but the Elevated option is always set to 'No'.
Image showing Edge Elevated Mode Status:
I have a google doc that I am using as a template for creating thousands of automated reports. One part of that is to replace some of the images from the template and replace them with the correct image. I am struggling to get the ID of the image to...
I am trying to count the number of reactions each user has done in a channel. The typical process is to find a message then get the reaction and then use the reaction.users() method to get the users that have reacted to this message. But this is...
I made a fully custom made GPT in Jax (with Keras 3), using Tensorflow for the data pipeline.
I've trained the model on the Shakespeare dataset and got good results (so no problem with the model).
Now I want to train it on the Tiny-Stories dataset...
How to plot graph in Pythonanywhere bash console using python matplotlib without saving the graph as a file
import matplotlib matplotlib.use( Agg ) import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) ax.plot(range(100))...
I'm trying to hide the entire schemas section of the FastAPI generated swagger docs. I've checked the docs and tried this but the schema section still shows.
@Schema(hidden=True) class theSchema(BaseModel): category: str How do I omit one...
I am trying to install TensorFlow on my WSL on my laptop. The general installation of pip install tensorflow its successful. But it does detect GPU on my laptop. When I test GPU on it python3 -c import tensorflow as tf;...
For algorithmic reasons, I would like to perform inference sequentially, sample by sample instead of performing a batched sample. It is Deep Neuronal network with the following structure:
The following program is meant to verify that the age of the client is within the required range, without the server having to know the age of that client. I mean to use zero knowledge proofs to accomplish that. Sadly, the program tells me that the...
I have a simple script, it retrieves data from an API and loads it into BigQuery. I was using Cloud Functions and it was running smoothly, however there came a time that reached the 9-minute run time limit.
guys you see i had a python version 3.12 which was represented by python in cmd. The i installed python3.11 which was epresented as py in cmd. Then i installed another python3.12(it was something that happened during my installation of nodejs), and...
I'm having trouble creating something which would be synonymous to a C header file (.h).
I have medium sized dictionaries and lists (about 1,000 elements), lengthy enums, and '#defines' (well not really), but I can't find a CLEAN way to organize...
I am working on a machine learning problem involving a Monte Carlo simulation for a classification task. My current implementation involves generating synthetic class labels based on multinomial distributions and computing a specific tensor product...
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения