Quantcast
Channel: Active questions tagged python - Stack Overflow
Browsing all 13921 articles
Browse latest View live
↧

The Python Tools server crashed 5 times in the last 3 minutes. The server...

The Python Server Crashes Unexpectedly. Am able to run in debug mode but the Linting is not working. Could anybody help me out please?

View Article


SSL: CERTIFICATE_VERIFY_FAILED error for httpx but works for requests

I am switching over some code originally hitting an API through http to now use https. The code is using httpx to hit the API. When trying to make a request I am gettingssl.SSLCertVerificationError:...

View Article


I want to run python processing in vscode but processing-py.jar does not exist

Like the title said I would like to be able to processing on vs-code since its just a better ide and it would make what I am doing right now faster.I searched many tutorials up but they all require you...

View Article

Image may be NSFW.
Clik here to view.

ReLU not working accurately in regression for a continuous function

I was trying to solve a regression problem for sine function and I was supposed to use the ReLU activation function and my network should have been a fully connected one. I wanted to see how...

View Article

need a program to detect emotions in real time using aws rekognition

I'm developing emotional AI for my MBA project. tried few codes from online but none of them are working so if anyone has a reliable source of working code can help me with my scenario.an output that...

View Article


Unexpected behaviour of log1p numpy

I am using the function numpy.log1p to calculate the value of log(1 + x) for very small complex numbers, and I am getting unexpected results.I would expect that outputs should be practically equal to...

View Article

How to evolve LSTM model using NEAT (Neural Evolution of Augmenting Topologies)?

When it comes to LSTM models or any NN, there are no rules as to how many neurons/layers a model should have and usually you have to work your way up top perfect these parameters. But I was wondering...

View Article

(NLP Modelling) How to get SpaCy matcher to parse names and education history...

I am building an NLP model to parse through resumes for names and education history which I will then append to a larger Excel file with other applicant data to use for broader analysis. I am...

View Article


min from columns from dict

I have a dict with item\column name and a df with columns from dict and other columns. How can I add column to df with min value for every item just from columns corresponding from dict?import pandas...

View Article


How to persist LangChain conversation memory (save and load)?

I'm creating a conversation like so:llm = ChatOpenAI(temperature=0, openai_api_key=OPENAI_API_KEY, model_name=OPENAI_DEFAULT_MODEL)conversation = ConversationChain(llm=llm,...

View Article

FFmpeg RTSP drop rate increases when frame rate is reduced

I need to read an RTSP stream, process the images individually in Python, and then write the images back to an RTSP stream. As the RTSP server, I am using Mediamtx [1]. For streaming, I am using FFmpeg...

View Article

Please i need some assistance with an Hackerrank problem that i'm going at...

Is there someone willing to help me with an hackerrank problem? Been going at it for 3 days now.The coding that i tried isn't giving me back the output that should be expected. If there are some sites...

View Article

Issue with downloading and replacing files, and other problems when running...

I'm facing an issue when trying to download and replace files in a Python application using PyInstaller. My application consists of downloading files from the internet and replacing existing ones...

View Article


Heroku to esp32 and vice versa (flask app deployed) [closed]

Do you have any idea how to control leds and lcd of esp32 thru flask app that is deployed on heroku? my code works fine on localhost, but gives an error on heroku deployed app.I've tried sending data...

View Article

left right list python task

Here is the task I was trying to solveDenis is a true researcher whose days at the university are filled with lectures, experiments, and reports. He works diligently, but, like all students, sometimes...

View Article


Tensorflow reports cusolver64_11.dll is not found

I am using tensorflow version 2.10, with cuda v10.1 on windows. Attempting to get the tensorflow physical devices returnsCould not load dynamic library 'cusolver64_11.dll'; dlerror: cusolver64_11.dll...

View Article

Image may be NSFW.
Clik here to view.

Python Pandas Removing Row based on some filter rules [duplicate]

so, i have csv files like image above, which i want create filter :if 'Bids'< 3 AND 'Price'> 149then data should be deleted, like the image above, data number 2 should be deletedi already try...

View Article


Corrected Cramer's V results in division by zero when n = r

I recently found this answer which provides the code of an unbiased version of Cramer's V for computing the correlation of two categorical variables:import scipy.stats as ssdef...

View Article

How to check if the input includes an object called 'name' in a class...

I'm making a program where you can make a city and I want it so that if you type info and then the building name which is an argument in a class. The buildings and roads created are in 2 separate...

View Article

Is there a way to make a long for loop to run faster?

Im making a simple montecarlo simulator that takes in a 3*4 matrix of probabilities, and the number of iterations you want to simulate for. And the output is a table with all the results.Each row of...

View Article
Browsing all 13921 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>