Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
3 votes
0 answers
134 views

I am attempting to convert a set of hexcodes to a h3shape using h3.cells_to_h3shape and get the following error: Traceback (most recent call last): File "~/temp.py", line 221, in <...
BrownWolf's user avatar
0 votes
0 answers
55 views

Environment Raspberry Pi 4: 8 GB RAM Relevant Dependencies: keras 3.11.3 numpy 1.26.4 opencv-python 4.12.0.88 pillow 11.3.0 tensorflow ...
Priyanshu Jha's user avatar
2 votes
2 answers
564 views

This is a very basic example how I am trying to use langchain to invoke a llm and find the tool to use: import asyncio import json from langchain.agents import AgentExecutor, ...
hitesh's user avatar
  • 389
0 votes
1 answer
77 views

I'm participating in the curent Kaggle playground series and I decided to use a neural network for the binary classification problem because I am practicing making simple ones. I converted the target ...
Karis C. Anoruo's user avatar
3 votes
1 answer
48 views

I'm trying to fit a Structural Vector Autoregression (SVAR) model using statsmodels in Python, but I'm encountering the following error ValueError: zero-size array to reduction operation maximum which ...
PeCaDe's user avatar
  • 478
0 votes
0 answers
47 views

I'm using alphalens.utils.get_clean_factor_and_forward_returns() to compute forward returns from a factor series and price DataFrame. But I'm hitting the following error: ValueError: Length mismatch: ...
Aboriginal's user avatar
2 votes
1 answer
165 views

I'm new here so I hope that I will put all needed information As the CSV is a huge one (10Go), the URL link is in the code below if needed URL link to the data description (column type...) Delimiter ...
user30252915's user avatar
0 votes
0 answers
96 views

I'm using Solara to visualize a MESA simulation but I always get this message: ValueError: Missing required model parameter: initial_fire_positions Can someone help me figure out why it is happening?...
new_To_coding's user avatar
0 votes
0 answers
28 views

I am obtaining a ValueError regarding the input arrays and there dimension. I am trying to create a Random Forest Regression Model for price prediction using both numerical features and categorical ...
leakie's user avatar
  • 1
-1 votes
1 answer
93 views

I'm fetching a frame correctly from webcam: success, image = self.video.read() But when I try to change the mode of my frame to grayscale using the following code: gray_image = cv2.cvtColor(image, ...
Mohammed Baashar's user avatar
1 vote
1 answer
74 views

I am trying to create a dictionary from a string. In this case I have posted my sample code (sorry its not that clean, just hardcoded values), the first str1 works fine and is able generate a ...
SajS's user avatar
  • 21
-1 votes
2 answers
71 views

Here are my two dictionaries dict1 = {'AUD': 1.55453513945, 'CAD': 1.3458501245, 'EUR': 0.97729005765, 'PKR': 289.48832734625, 'USD': 1.0} dict2 = {'AUD': [1.6090702789, 1.5], 'CAD': [1.451700249, 1....
A K's user avatar
  • 1
0 votes
1 answer
26 views

I'm making a CNN and I don't know the full ins and outs of coding. When i try to add the layers, it constantly gives me a "NotImplmentedError" and a "ValueError" that says ...
Eve's user avatar
  • 9
0 votes
0 answers
16 views

I saw some unexpected behavior during a ValueError when using pandas. When incorrectly using and instead of & to provide a boolean argument to a pandas series in a loop, the traceback points at ...
ChuckLewis's user avatar
0 votes
2 answers
73 views

Python (venv) 3.12.2 from VSCode (1.96.2) within Anaconda (2.6.4) on an intel iMac, Sequoia 15.1.1. I'm working on a downloaded model (not my original work) for predicting MLB scores. One of the 17 ...
Richard C's user avatar

15 30 50 per page
1
2 3 4 5
120