id
stringlengths
7
11
source
stringclasses
1 value
category
stringclasses
11 values
title
stringlengths
15
214
text
stringlengths
70
30.5k
url
stringlengths
57
160
tags
stringlengths
3
113
created_at
int64
1.22B
1.79B
se_79897963
stackoverflow
ARTIFICIAL_INTELLIGENCE
How can I build my own offline text recognition library like Google ML Kit that gives text and bounding boxes, but supports my own custom language?
How can I build my own offline text recognition library like Google ML Kit that gives text and bounding boxes, but supports my own custom language? How can I create an Android library similar to Google ML Kit Text Recognition that works fully offline, detects text from images, and returns both the recognized text and ...
https://stackoverflow.com/questions/79897963/how-can-i-build-my-own-offline-text-recognition-library-like-google-ml-kit-that
android, artificial-intelligence, ocr, ml
1,772,210,848
se_79897886
stackoverflow
ARTIFICIAL_INTELLIGENCE
Looking for a database of fish diseases (especially tilapia)
Looking for a database of fish diseases (especially tilapia) I am currently looking for a structured database or publicly available dataset that contains information about fish diseases, especially those affecting tilapia. The dataset can include symptoms, causes, treatment methods, images, or any related biological d...
https://stackoverflow.com/questions/79897886/looking-for-a-database-of-fish-diseases-especially-tilapia
database, artificial-intelligence
1,772,202,730
se_79897531
stackoverflow
ARTIFICIAL_INTELLIGENCE
Designing a real-time anti-scam detection system for voice and text — what features and architecture should I consider?
Designing a real-time anti-scam detection system for voice and text — what features and architecture should I consider? I am building a real-time scam detection prototype for both voice calls and text chats. Voice input will be transcribed using streaming ASR, then classified with NLP. Text input will be classified ...
https://stackoverflow.com/questions/79897531/designing-a-real-time-anti-scam-detection-system-for-voice-and-text-what-featu
android, artificial-intelligence, spoof
1,772,166,355
se_79893146
stackoverflow
ARTIFICIAL_INTELLIGENCE
I can't code without the feature of auto complete bt AI
I can't code without the feature of auto complete bt AI I'm 14 y.o (15 in two months) and I been learning C# for more than half a year. When I'm trying to code without using Ai features, I don't know what to type, lol. My programming teacher says it's all good - if you understand the code, well I do understand th...
https://stackoverflow.com/questions/79893146/i-cant-code-without-the-feature-of-auto-complete-bt-ai
c#, artificial-intelligence
1,771,610,159
se_79618311
stackoverflow
ARTIFICIAL_INTELLIGENCE
how to get streaming audio output from gTTS python
how to get streaming audio output from gTTS python I am making a voice assistant using gTTS but when the full speech output is delivered and played , it take a lot time to respond when searching in the Internet about this I found a GitHub issue: https://github.com/patarapolw/gTTS/pull/1 but I don't know how to use tha...
https://stackoverflow.com/questions/79618311/how-to-get-streaming-audio-output-from-gtts-python
python, google-cloud-functions, artificial-intelligence, audio-streaming, gtts
1,747,069,015
se_79477167
stackoverflow
ARTIFICIAL_INTELLIGENCE
Error:[GoogleGenerativeAI Eror]:Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent:[404 Not Found]
Error:[GoogleGenerativeAI Eror]:Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent:[404 Not Found] my bot was working fine few days ago and now im randomly getting the following error message Error: [GoogleGenerativeAI Error]: Error fetching from https://generativela...
https://stackoverflow.com/questions/79477167/errorgooglegenerativeai-erorerror-fetching-from-https-generativelanguage-g
typescript, artificial-intelligence, google-gemini, google-generativeai
1,740,809,352
se_79892835
stackoverflow
ARTIFICIAL_INTELLIGENCE
Data processing and automation of template filling
Data processing and automation of template filling I need to automate marketplace template filling from supplier product tables. Input: - data: list[dict] or pandas DataFrame with product rows - templates_info: list of templates with id + cols_info (rules for each output field) Output: - one JSON per product, strictly...
https://stackoverflow.com/questions/79892835/data-processing-and-automation-of-template-filling
excel, artificial-intelligence, openai-api, bulk, openai-agents
1,771,582,474
se_79778716
stackoverflow
ARTIFICIAL_INTELLIGENCE
Getting “Sizes of tensors must match” error when using ComfyUI WanVideoWrapper (wan2.2) to generate video
Getting “Sizes of tensors must match” error when using ComfyUI WanVideoWrapper (wan2.2) to generate video I am trying to generate a video using Wan 2.2. My goal is to take a motion sequence from an input video and a single reference image, and then generate a new video where the character in the reference image perfor...
https://stackoverflow.com/questions/79778716/getting-sizes-of-tensors-must-match-error-when-using-comfyui-wanvideowrapper
deep-learning, pytorch, artificial-intelligence
1,759,208,695
se_79891841
stackoverflow
ARTIFICIAL_INTELLIGENCE
Random generated string detection
Random generated string detection I need a solution which: - is AI (that is not my requirement, I just need to follow it) - takes string containing one word, but withouth spaces - i.e. could be "car", could be "john.tomas", etc. So it could be name separated with '.'. ',', '-', '_' - it outputs some number - the numbe...
https://stackoverflow.com/questions/79891841/random-generated-string-detection
artificial-intelligence
1,771,448,783
se_79847967
stackoverflow
ARTIFICIAL_INTELLIGENCE
AI Tools for Java + Spring Boot + Kafka Stack: ChatGPT Pro or Claude Pro?
AI Tools for Java + Spring Boot + Kafka Stack: ChatGPT Pro or Claude Pro? I’m thinking of getting an AI plan for work and I’m torn between ChatGPT Pro and Claude Pro. My stack: Java + Spring Boot + Kafka, microservices, and hexagonal architecture. I’d mostly use it for: Generating code and refactoring Architecture q...
https://stackoverflow.com/questions/79847967/ai-tools-for-java-spring-boot-kafka-stack-chatgpt-pro-or-claude-pro
java, spring-boot, artificial-intelligence
1,765,826,311
se_79891324
stackoverflow
ARTIFICIAL_INTELLIGENCE
Agent which parses website through its file and folder
Agent which parses website through its file and folder I want to build an npm package which any business can install into their project which then parses it and create client tools which will mimic a real user on the website. The main idea is to help users navigate the website easily, fill forms, see different section...
https://stackoverflow.com/questions/79891324/agent-which-parses-website-through-its-file-and-folder
npm, web, artificial-intelligence, large-language-model, agent
1,771,394,207
se_79887762
stackoverflow
ARTIFICIAL_INTELLIGENCE
Looking for a local AI model and server that can do Copilot Agent mode in VSCode
Looking for a local AI model and server that can do Copilot Agent mode in VSCode VSCode lets you access models served from Ollama. But in the Manage Models selection screen, only the models hosted by services like OpenAI, Claude, etc. show "Capabilities" that are required for enabling the Agent mode. I've tried a few ...
https://stackoverflow.com/questions/79887762/looking-for-a-local-ai-model-and-server-that-can-do-copilot-agent-mode-in-vscode
visual-studio-code, artificial-intelligence, large-language-model, github-copilot
1,770,850,051
se_79890282
stackoverflow
ARTIFICIAL_INTELLIGENCE
Sensitive data and AI
Sensitive data and AI I am developing a tool using Python that integrates AI (GitHub Copilot SDK). This tool processes CI/CD pipeline definitions and analyze their data. I was thinking about how to deal with security in those cases that sensitive data is in plain text in the pipeline definitions. Is there a way of mas...
https://stackoverflow.com/questions/79890282/sensitive-data-and-ai
python, security, artificial-intelligence, github-copilot
1,771,251,644
se_79884491
stackoverflow
ARTIFICIAL_INTELLIGENCE
How does account authentication work for GitHub Copilot and other AI providers in IntelliJ AI Assistant?
How does account authentication work for GitHub Copilot and other AI providers in IntelliJ AI Assistant? Since the IntelliJ AI Assistant update, I want to know how to link accounts to different AI models, MCPS, agents and ACPs These are the accounts I use: A JetBrains account for the AI Assistant (works) A work GitHu...
https://stackoverflow.com/questions/79884491/how-does-account-authentication-work-for-github-copilot-and-other-ai-providers-i
java, intellij-idea, artificial-intelligence, jetbrains-ide, intellij-plugin
1,770,397,686
se_4241824
stackoverflow
ARTIFICIAL_INTELLIGENCE
Creating an AI Behavior Tree in C# - How?
Creating an AI Behavior Tree in C# - How? I am attempting to create a "behavior tree" using C#. For anyone who doesn't know, a behavior tree is basically a framework that you can construct an AI around. There are Sequencers, Selectors, Decorators, composite actions, and other things. I have found a single library th...
https://stackoverflow.com/questions/4241824/creating-an-ai-behavior-tree-in-c-how
c#, artificial-intelligence, behavior-tree
1,290,393,802
se_10136470
stackoverflow
ARTIFICIAL_INTELLIGENCE
Unsupervised clustering with unknown number of clusters
Unsupervised clustering with unknown number of clusters I have a large set of vectors in 3 dimensions. I need to cluster these based on Euclidean distance such that all the vectors in any particular cluster have a Euclidean distance between each other less than a threshold "T". I do not know how many clusters exist. ...
https://stackoverflow.com/questions/10136470/unsupervised-clustering-with-unknown-number-of-clusters
algorithm, math, artificial-intelligence, machine-learning, cluster-analysis
1,334,300,042
se_79885996
stackoverflow
ARTIFICIAL_INTELLIGENCE
What are the actual parameters of run() of InMemoryRunner class
What are the actual parameters of run() of InMemoryRunner class code snippet: from google.adk.runners import InMemoryRunner from app.agents.pipeline import api_pipeline_agent runner = InMemoryRunner(agent=api_pipeline_agent) async def run_agent(message: str): response = await runner.run(message) return respo...
https://stackoverflow.com/questions/79885996/what-are-the-actual-parameters-of-run-of-inmemoryrunner-class
artificial-intelligence, pipeline, agent
1,770,653,031
se_79885067
stackoverflow
ARTIFICIAL_INTELLIGENCE
Seeking good general advice about current state of play with AI Agents/LLMs
Seeking good general advice about current state of play with AI Agents/LLMs I'm seeking general advice about the current state of AI Agents/LLMs that isn't biased towards one solution or another. In short, I'm looking for the following (I know it's a big ask): Any forums best suited to asking/reading up more on the t...
https://stackoverflow.com/questions/79885067/seeking-good-general-advice-about-current-state-of-play-with-ai-agents-llms
artificial-intelligence, computer-science
1,770,498,944
se_79884375
stackoverflow
ARTIFICIAL_INTELLIGENCE
Should I use GCE or GKE for AI machines running on the cloud and how?
Should I use GCE or GKE for AI machines running on the cloud and how? I want to migrate a Vision AI system to a Google Cloud Platform. I’m not sure whether I should use GCE (Google Compute Engine) or GKE (Google Kubernetes Engine). This Vision AI system uses YOLO from Ultralytics, running on Python 3.8. I am inexperie...
https://stackoverflow.com/questions/79884375/should-i-use-gce-or-gke-for-ai-machines-running-on-the-cloud-and-how
google-cloud-platform, artificial-intelligence, cloud
1,770,387,294
se_79882835
stackoverflow
ARTIFICIAL_INTELLIGENCE
Can you run Moltbot as a container?
Can you run Moltbot as a container? Does this provide enough separation for security purposes or am I better off using a VM?I know that Moltbot is fraught with security issues. I would like to try it out, but I obviously do not want it to have control over my hardware.
https://stackoverflow.com/questions/79882835/can-you-run-moltbot-as-a-container
containers, artificial-intelligence, virtual-machine
1,770,216,636
se_79882933
stackoverflow
ARTIFICIAL_INTELLIGENCE
What will be next time?
What will be next time? I'm a newbie, but I know that AI coding tools are completely transforming the software industry. AI has already eliminated many tasks, and it will only become more powerful in the future. I use a tool called Cursor to build full-stack apps very quickly. In the future, anyone will be able to bui...
https://stackoverflow.com/questions/79882933/what-will-be-next-time
artificial-intelligence
1,770,223,522
se_79806927
stackoverflow
ARTIFICIAL_INTELLIGENCE
AnalyzeDocumentContent not found
AnalyzeDocumentContent not found When attempting to create data extract for a custom form using Azure.AI.DocumentIntelligence, I get this error The type or namespace AnalyzeDocumentContent does not exist in the namespace Azure.AI.DocumentIntelligence
https://stackoverflow.com/questions/79806927/analyzedocumentcontent-not-found
artificial-intelligence, azure-document-intelligence
1,762,056,367
se_79881852
stackoverflow
ARTIFICIAL_INTELLIGENCE
Stream text from node socket to freeswitch using azure TTS
Stream text from node socket to freeswitch using azure TTS I am trying to create a socket which acts like a AI bot and will stream preset text by converting it usin azure TTS engine back to freeswitch and hence back to user who is calling. I am able to access and transcribe the data coming from user/freeswitch but whe...
https://stackoverflow.com/questions/79881852/stream-text-from-node-socket-to-freeswitch-using-azure-tts
node.js, sockets, artificial-intelligence, freeswitch
1,770,117,409
se_79534396
stackoverflow
ARTIFICIAL_INTELLIGENCE
"spawn npx ENOENT spawn npx ENOENT" Error in Cline VSCode MCP Server Connection
"spawn npx ENOENT spawn npx ENOENT" Error in Cline VSCode MCP Server Connection I tried to install OpenRouter MCP Server using Cline Extension in VSCode Insiders as MCP Client. I got my reference from Smithery (https://smithery.ai/server/@mcpserver/openrouterai). This is my cline_mcp_settings.json located at...
https://stackoverflow.com/questions/79534396/spawn-npx-enoent-spawn-npx-enoent-error-in-cline-vscode-mcp-server-connection
node.js, json, artificial-intelligence, vscode-extensions, npx
1,742,922,810
se_79880274
stackoverflow
ARTIFICIAL_INTELLIGENCE
Best practice for extracting structured numeric data from PDFs returned by an API for calculations
Best practice for extracting structured numeric data from PDFs returned by an API for calculations I’m working on a backend process where I need to: Fetch a PDF document from a third-party API Extract a small, known set of numeric values from the document Feed those values into deterministic formulas (e.g. ratios/s...
https://stackoverflow.com/questions/79880274/best-practice-for-extracting-structured-numeric-data-from-pdfs-returned-by-an-ap
pdf, next.js, artificial-intelligence, extract
1,769,901,077
se_5163806
stackoverflow
ARTIFICIAL_INTELLIGENCE
How To Make An Efficient Ludo Game Playing AI Algorithm
How To Make An Efficient Ludo Game Playing AI Algorithm I want to develop a ludo game which will be played by at most 4 players and at least two. One of the players will be an AI. As there is so many conditions I am not able to decide what pawn to move for the computer. I am trying my best but still to develop an effi...
https://stackoverflow.com/questions/5163806/how-to-make-an-efficient-ludo-game-playing-ai-algorithm
algorithm, artificial-intelligence
1,299,044,254
se_79832798
stackoverflow
ARTIFICIAL_INTELLIGENCE
How do you learn without AI?
How do you learn without AI? I started coding a few years ago, and I didn't know where to find resources for how to code. I'm working on a messaging app with a front end in React Native and a back end in Go. My go-to workflow is to ask ChatGPT what the best technology stack is and then type out the sample project they...
https://stackoverflow.com/questions/79832798/how-do-you-learn-without-ai
artificial-intelligence
1,764,352,746
se_79877585
stackoverflow
ARTIFICIAL_INTELLIGENCE
Need advice on how to handle data and find groupings using ML/AI/DS
Need advice on how to handle data and find groupings using ML/AI/DS I have a project and I'm new with Data Science/ML/AI. Basically I have data set with list of issues and each issue there is a notes section where engineers talk to support and tell how do they solve or fix the issue. My challenge is I need to identify...
https://stackoverflow.com/questions/79877585/need-advice-on-how-to-handle-data-and-find-groupings-using-ml-ai-ds
machine-learning, artificial-intelligence, data-science, k-means
1,769,567,971
se_79811708
stackoverflow
ARTIFICIAL_INTELLIGENCE
AI/IDE Integration: Claude Code for VS Code vs. Cursor Models
AI/IDE Integration: Claude Code for VS Code vs. Cursor Models I seem to be missing the subtleties in the IDE integration between these two options: Claude Code for VS Code Cursor Models I've been been using Cursor for the Models; I've toggled a few, seems to produce positive results. But, just discovered the plugin....
https://stackoverflow.com/questions/79811708/ai-ide-integration-claude-code-for-vs-code-vs-cursor-models
plugins, ide, artificial-intelligence, claude, advice
1,762,457,905
se_79875291
stackoverflow
ARTIFICIAL_INTELLIGENCE
Run expensive function (containing for loop) on multiple GPUs. pmap gives out of memory error
Run expensive function (containing for loop) on multiple GPUs. pmap gives out of memory error I have an expensive function expensive_func, which I am trying to run for multiple input parameters stored in the array inputs of size (N, m) where N is the total number of cases. I want to perform this on, say, ngpu=4 GPUs, ...
https://stackoverflow.com/questions/79875291/run-expensive-function-containing-for-loop-on-multiple-gpus-pmap-gives-out-of
artificial-intelligence, gpu, sharding, jax, pmap
1,769,273,237
se_79874746
stackoverflow
ARTIFICIAL_INTELLIGENCE
Good resources for learning GPU acceleration & distributed LLM training?
Good resources for learning GPU acceleration & distributed LLM training? I’m looking to upskill in GPU acceleration and distributed training, particularly for LLMs and fine-tuning workflows. I’m mainly interested in hands-on, practical resources (courses, certifications, or tutorials) that focus on Python/PyTorch—...
https://stackoverflow.com/questions/79874746/good-resources-for-learning-gpu-acceleration-distributed-llm-training
machine-learning, artificial-intelligence, gpu, large-language-model, fine-tuning
1,769,187,392
se_79854747
stackoverflow
ARTIFICIAL_INTELLIGENCE
How can i correctly change the LLAMA3 default maxtoken=256 in Blazor app on .NET 10.0?
How can i correctly change the LLAMA3 default maxtoken=256 in Blazor app on .NET 10.0? I am creating a local LLM app, which works OK, but on response it stops at 170 words which are = 256 tokens. The models I have tried are so far: Meta-Llama-3.1-8B-Instruct-Q8_0.gguf and mistral-7b-instruct-v0.2.Q8_0.gguf. I have tri...
https://stackoverflow.com/questions/79854747/how-can-i-correctly-change-the-llama3-default-maxtoken-256-in-blazor-app-on-net
c#, blazor, artificial-intelligence, llama, .net-10.0
1,766,651,956
se_79865973
stackoverflow
ARTIFICIAL_INTELLIGENCE
What is an MCP server, and what core concepts should an entry-level developer understand?
What is an MCP server, and what core concepts should an entry-level developer understand? I’m a beginner trying to understand what an MCP (Model Context Protocol) server is and how it is used in practice. I’ve read that MCP is used to allow AI models to interact with external tools, data sources, or services in a stan...
https://stackoverflow.com/questions/79865973/what-is-an-mcp-server-and-what-core-concepts-should-an-entry-level-developer-un
artificial-intelligence, client-server, protocols, model-context-protocol
1,768,208,366
se_79869294
stackoverflow
ARTIFICIAL_INTELLIGENCE
Python/GenAI/LLM: Best practices for asking follow‑up questions to clarify user intent in a chatbot
Python/GenAI/LLM: Best practices for asking follow‑up questions to clarify user intent in a chatbot I’m building a chatbot using Python, pydantic_ai, google_genai, and the gemini‑2.0‑flash‑lite model. The bot includes a module responsible for retrieving context from a knowledge base (RAG). The knowledge base itself is...
https://stackoverflow.com/questions/79869294/python-genai-llm-best-practices-for-asking-follow-up-questions-to-clarify-user
python, algorithm, nlp, artificial-intelligence, large-language-model
1,768,558,225
se_79869652
stackoverflow
ARTIFICIAL_INTELLIGENCE
Issues converting Figma designs to a full WordPress theme using Open AI
Issues converting Figma designs to a full WordPress theme using Open AI What I am trying to do Fetch design data (frames, components, styles) from Figma using the Figma API Process that data and send it to the Open AI API Generate: WordPress theme structure PHP templates HTML/CSS (and possibly JS) Automatical...
https://stackoverflow.com/questions/79869652/issues-converting-figma-designs-to-a-full-wordpress-theme-using-open-ai
php, wordpress, artificial-intelligence, openai-api, figma-api
1,768,583,839
se_79821532
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to make an AI model come alive?
How to make an AI model come alive? For fun, I developed an AI model with short-term, medium-term, and long-term memory, inspired by neuro-sama. (I'm a regular backend developer, I don't know much about AI). How it works: mic -> vad -> local STT whisper -> core llm twitch chat -> llm determining the interest of the me...
https://stackoverflow.com/questions/79821532/how-to-make-an-ai-model-come-alive
artificial-intelligence, openai-api
1,763,304,274
se_79851882
stackoverflow
ARTIFICIAL_INTELLIGENCE
Update ChatMessageContent value in Semantic Kernel response
Update ChatMessageContent value in Semantic Kernel response I have a simple chat bot built with Semantic Kernel: var response = _chatCompletionService.GetChatMessageContentAsync( chatHistory, executionSettings: execSettings, kernel: kernel); In some cases I want to validate response from the model and...
https://stackoverflow.com/questions/79851882/update-chatmessagecontent-value-in-semantic-kernel-response
c#, artificial-intelligence, large-language-model, semantic-kernel
1,766,250,345
se_79847329
stackoverflow
ARTIFICIAL_INTELLIGENCE
Custom GRPO Trainer not Learning
Custom GRPO Trainer not Learning I am new to reinforcement learning. So, as an educational exercise, I am implementing the GRPO from scratch with PyTorch. My goal is mimic how TRL works, but boil it down to just the loss function and training loop (more or less), and replicate the simple example where they optimize fo...
https://stackoverflow.com/questions/79847329/custom-grpo-trainer-not-learning
pytorch, artificial-intelligence, huggingface-transformers, reinforcement-learning
1,765,760,861
se_79825223
stackoverflow
ARTIFICIAL_INTELLIGENCE
Prompt managing storing in git v.s. db
Prompt managing storing in git v.s. db We are building an LLM-based application that takes a lot of user data from various internal sources and sends the data to various prompts which provide the answers needed to fill out forms correctly. The system used to be more basic, where a single LLM prompt would answer a ques...
https://stackoverflow.com/questions/79825223/prompt-managing-storing-in-git-v-s-db
python, architecture, artificial-intelligence, large-language-model
1,763,624,523
se_79850130
stackoverflow
ARTIFICIAL_INTELLIGENCE
Why isn't Windsurf's autocomplete working in my IntelliJ IDEA 2024?
Why isn't Windsurf's autocomplete working in my IntelliJ IDEA 2024? Just installed Windsurf in IDEA 2024 and enabled autocomplete. The Chat agent works fine (I'm in China, so probably not a full network block). But inline suggestions aren't appearing at all. Example: I write a complete getUser endpoint in a Sp...
https://stackoverflow.com/questions/79850130/why-isnt-windsurfs-autocomplete-working-in-my-intellij-idea-2024
intellij-idea, artificial-intelligence, intellij-plugin, code-completion
1,766,047,025
se_78559183
stackoverflow
ARTIFICIAL_INTELLIGENCE
What is the difference of AssistantAgent, ConversableAgent and UserProxyAgent of autogen?
What is the difference of AssistantAgent, ConversableAgent and UserProxyAgent of autogen? I use the multiple agents from autogen https://microsoft.github.io/autogen/ . There are at least three agents: AssistantAgent, ConversableAgent and UserProxyAgent. What is the difference of AssistantAgent, ConversableAgent and U...
https://stackoverflow.com/questions/78559183/what-is-the-difference-of-assistantagent-conversableagent-and-userproxyagent-of
artificial-intelligence, large-language-model, agent, ms-autogen
1,717,147,260
se_79857625
stackoverflow
ARTIFICIAL_INTELLIGENCE
Symfony AI: How to add additional models for the LM Studio bridge?
Symfony AI: How to add additional models for the LM Studio bridge? I’m working with Symfony AI and the LM Studio bridge to manage my language models locally. My goal is to add custom models that are not included in Symfony’s default ModelCatalog. My YAML configuration looks like this: ai: platform: lmstudio: ...
https://stackoverflow.com/questions/79857625/symfony-ai-how-to-add-additional-models-for-the-lm-studio-bridge
php, symfony, artificial-intelligence
1,767,107,975
se_79839963
stackoverflow
ARTIFICIAL_INTELLIGENCE
Building a free of charge AI Voice agent with only open-source tools
Building a free of charge AI Voice agent with only open-source tools Hii I am trying to build a AI Voice agent with only open-source tools. I am planning to use Kokoro TTS for TTS and this code instead of LLM but I am not sure about STT and other things that maybe needed? Let me know If I should proceed with it or not...
https://stackoverflow.com/questions/79839963/building-a-free-of-charge-ai-voice-agent-with-only-open-source-tools
python, artificial-intelligence, agent, voice
1,765,056,340
se_79861943
stackoverflow
ARTIFICIAL_INTELLIGENCE
Crafting a roadmap to learn AI, (perhaps using Rust?)
Crafting a roadmap to learn AI, (perhaps using Rust?) I would like some advice to get into AI (I have been resisting the trend, but today seems to be a base requirement to work anywhere...) My Setup and current state Fedora Threadripper 3960x Intel Arc B50 (I got it just for this purpose) I am comfortable with C and...
https://stackoverflow.com/questions/79861943/crafting-a-roadmap-to-learn-ai-perhaps-using-rust
machine-learning, rust, artificial-intelligence
1,767,732,305
se_79853945
stackoverflow
ARTIFICIAL_INTELLIGENCE
ASP.NET With AI
ASP.NET With AI I’m working with ASP.NET and I would like to integrate an AI model into my backend API. Could you please explain the available approaches, the required tools or services, and the best practices for doing this effectively?
https://stackoverflow.com/questions/79853945/asp-net-with-ai
asp.net, database, machine-learning, artificial-intelligence, backend
1,766,519,328
se_79831170
stackoverflow
ARTIFICIAL_INTELLIGENCE
How do you disable the "Potentially dangerous command" warning in the continue extension for vscode?
How do you disable the "Potentially dangerous command" warning in the continue extension for vscode? I'm running a Dell Pro Max GB10 and set up ollama on it. I'm trying out the continue extension and using my GB10 as the backend. However, the extension wants to warn me about every command it deems dangerous:...
https://stackoverflow.com/questions/79831170/how-do-you-disable-the-potentially-dangerous-command-warning-in-the-continue-e
visual-studio-code, artificial-intelligence, vscode-extensions
1,764,192,845
se_79847200
stackoverflow
ARTIFICIAL_INTELLIGENCE
Advice related to npmai(https://pypi.org/project/npmai)
Advice related to npmai(https://pypi.org/project/npmai) Does this package is reliable for llm access it grants 7 LLMs i should use it in my projects or not if yes so where during development or in testing or just for learning agentic ai or one important questions should i use this package in production through oracle ...
https://stackoverflow.com/questions/79847200/advice-related-to-npmaihttps-pypi-org-project-npmai
python, artificial-intelligence
1,765,738,197
se_79856228
stackoverflow
ARTIFICIAL_INTELLIGENCE
Looking for ideas for a Master’s thesis topic in Data Science & AI (Banking – Fraud Detection – PDF Analysis)
Looking for ideas for a Master’s thesis topic in Data Science & AI (Banking – Fraud Detection – PDF Analysis) I’m a final-year Data Science & AI Master’s student, currently defining my thesis topic. I’ll be doing my research in a bank, working on fraud detection, with a focus on PDF document analysis. I’m looking ...
https://stackoverflow.com/questions/79856228/looking-for-ideas-for-a-master-s-thesis-topic-in-data-science-ai-banking-fr
python, artificial-intelligence, ml
1,766,932,428
se_79846492
stackoverflow
ARTIFICIAL_INTELLIGENCE
Pretrained resnet 18 model doesn't have fc layer and has cls and pool layers instead? "Missing key (s) in state_dict: "fc.weight", "fc.bias"."
Pretrained resnet 18 model doesn't have fc layer and has cls and pool layers instead? "Missing key (s) in state_dict: "fc.weight", "fc.bias"." I am trying to implement this repo in a simple way in my own project. I learned what each layer should do. I thought getting a pretrained AI a...
https://stackoverflow.com/questions/79846492/pretrained-resnet-18-model-doesnt-have-fc-layer-and-has-cls-and-pool-layers-ins
machine-learning, pytorch, artificial-intelligence, resnet, pre-trained-model
1,765,623,229
se_79855418
stackoverflow
ARTIFICIAL_INTELLIGENCE
I am confused, when to use tensorflow and pytorch
I am confused, when to use tensorflow and pytorch I am always confused between tensorflow and pytorch when to use which, because both are used for same task but when to use tensorflow and pytorch, like situation oriented. Some people's said suggested me if doing any research or something use pytorch, it is best for th...
https://stackoverflow.com/questions/79855418/i-am-confused-when-to-use-tensorflow-and-pytorch
machine-learning, deep-learning, computer-vision, artificial-intelligence, software-distribution
1,766,767,960
se_79853690
stackoverflow
ARTIFICIAL_INTELLIGENCE
Autogen- Unable to create the single conversational chat agent application
Autogen- Unable to create the single conversational chat agent application I am trying to create a simple conversational AI using autogen. where user should able to continuesly interact with the agent Below is the code ~~~ def get_location_suggestion() -> str: planner = AssistantAgent( name="Planner", sys...
https://stackoverflow.com/questions/79853690/autogen-unable-to-create-the-single-conversational-chat-agent-application
python, azure, artificial-intelligence, ms-autogen
1,766,496,483
se_79852692
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to reorder Corpus+LLM chat bubbles in the correct order?
How to reorder Corpus+LLM chat bubbles in the correct order? I'm writing a generative AI Corpus and AI Vocal Analysis tool that is for training peoples voice and giving feedback. I'm using qwen4b-instruct as an LLM and have prompted it really good however my pipeline goes like this. Corpus > Wiki Data > LLM with rerou...
https://stackoverflow.com/questions/79852692/how-to-reorder-corpusllm-chat-bubbles-in-the-correct-order
javascript, html, jquery, artificial-intelligence, large-language-model
1,766,389,837
se_79852097
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to use types correctly and avoid errors in PDDL
How to use types correctly and avoid errors in PDDL In my PDDL domain, as soon as I add "type" to each of variables, there is an error as follows, but it has no error if I remove these elements. Anyone knows the reason? Thanks! ...... ->Parsing 1. group of typed list Expected item to be a variable Got: -element transl...
https://stackoverflow.com/questions/79852097/how-to-use-types-correctly-and-avoid-errors-in-pddl
artificial-intelligence, formal-languages, pddl
1,766,288,490
se_79848775
stackoverflow
ARTIFICIAL_INTELLIGENCE
Why is OpenAI’s ChatGPT SDK preferred at the enterprise level over Google Gemini?
Why is OpenAI’s ChatGPT SDK preferred at the enterprise level over Google Gemini? I’ve noticed that many enterprises seem to adopt OpenAI’s ChatGPT SDK more frequently than Google Gemini or other AI platforms. From my understanding, both platforms provide similar foundational AI capabilities. I’m trying to understand ...
https://stackoverflow.com/questions/79848775/why-is-openai-s-chatgpt-sdk-preferred-at-the-enterprise-level-over-google-gemini
artificial-intelligence, openai-api, enterprise, chatgpt-api, google-gemini
1,765,906,976
se_75358846
stackoverflow
ARTIFICIAL_INTELLIGENCE
can I use .h5 file in Django project?
can I use .h5 file in Django project? I'm making AI web page using Django and tensor flow. and I wonder how I add .h5 file in Django project. writing whole code in views.py file but I want to use pre-trained model not online learning in webpage.
https://stackoverflow.com/questions/75358846/can-i-use-h5-file-in-django-project
python, django, tensorflow, artificial-intelligence
1,675,671,663
se_79848251
stackoverflow
ARTIFICIAL_INTELLIGENCE
How should ground-truth and tracker result files be structured for TrackEval?
How should ground-truth and tracker result files be structured for TrackEval? I am using TrackEval to evaluate multi-object tracking results. I have: gt.txt (ground truth for a video) mot.txt (tracker output for the same video) What is the required directory structure for placing these files so TrackEval can compute...
https://stackoverflow.com/questions/79848251/how-should-ground-truth-and-tracker-result-files-be-structured-for-trackeval
python, artificial-intelligence, tracking, repo
1,765,866,072
se_79750914
stackoverflow
ARTIFICIAL_INTELLIGENCE
Cursor AI Agent terminal never stops (spinner keeps running) after dotnet build finishes
Cursor AI Agent terminal never stops (spinner keeps running) after dotnet build finishes I’m running a .NET project from the Cursor AI Agent terminal. The build finishes (I see the final summary line), but the Agent’s terminal keeps “running” forever (spinner never stops). I have to press Ctrl+C or close the tab. Comm...
https://stackoverflow.com/questions/79750914/cursor-ai-agent-terminal-never-stops-spinner-keeps-running-after-dotnet-build
.net, artificial-intelligence, cursor-ide
1,756,525,778
se_75056524
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to create AI Images (Midjourney) by code?
How to create AI Images (Midjourney) by code? I want to create an app that creates Midjourney images. The problem is that Midjourney doesn't provide an API, it works from Discord. How to automate the process of image generation without the need to open Discord?
https://stackoverflow.com/questions/75056524/how-to-create-ai-images-midjourney-by-code
discord, artificial-intelligence, stable-diffusion
1,673,263,143
se_79773298
stackoverflow
ARTIFICIAL_INTELLIGENCE
LangGraph agent, built using create_react_agent, ignores the outputs from callable tools
LangGraph agent, built using create_react_agent, ignores the outputs from callable tools Here is an example from the LangGraph offical tutorial def add(a: float, b: float): """Add two numbers.""" return a + b def multiply(a: float, b: float): """Multiply two numbers.""" return a * b def divide(a: flo...
https://stackoverflow.com/questions/79773298/langgraph-agent-built-using-create-react-agent-ignores-the-outputs-from-callab
artificial-intelligence, langchain, agent, langgraph
1,758,692,412
se_79787707
stackoverflow
ARTIFICIAL_INTELLIGENCE
Transformer model outputs degrade after ONNX export — what could be causing this?
Transformer model outputs degrade after ONNX export — what could be causing this? I’ve exported a fine-tuned BERT-based QA model to ONNX for faster inference, but I’m noticing that the predictions from the ONNX model are consistently less accurate than those from the original PyTorch model. Here’s the export and infer...
https://stackoverflow.com/questions/79787707/transformer-model-outputs-degrade-after-onnx-export-what-could-be-causing-this
artificial-intelligence, bert-language-model, onnx
1,760,133,396
se_79843424
stackoverflow
ARTIFICIAL_INTELLIGENCE
How do I create APIs for training ML models to play games? (Reference request)
How do I create APIs for training ML models to play games? (Reference request) I'm interested in learning how to train machine learning models to play video games. I would love to see general references (books and papers) on how to do this; I see lots of papers on the model training itself, but not on how to get the m...
https://stackoverflow.com/questions/79843424/how-do-i-create-apis-for-training-ml-models-to-play-games-reference-request
machine-learning, interface, artificial-intelligence, game-engine
1,765,399,335
se_79837611
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to fix EOF Server Ollama Error when embedding
How to fix EOF Server Ollama Error when embedding I built the RAG system in Laravel with Neuron AI framework. I tried to store docs to the vectorstore but I got error: [2025-12-04 06:49:45] local.ERROR: Server error: `POST http://localhost:11434/api/embeddings` resulted in a `500 Internal Server Error` response: {"err...
https://stackoverflow.com/questions/79837611/how-to-fix-eof-server-ollama-error-when-embedding
laravel, artificial-intelligence, embedding, ollama
1,764,831,592
se_79632748
stackoverflow
ARTIFICIAL_INTELLIGENCE
Agent Mode disabled in Visual Studio 2022 17.14.1 Copilot chat
Agent Mode disabled in Visual Studio 2022 17.14.1 Copilot chat Just updated to Visual Studio 2022 Version 17.14.1 When I try to Enable copilot agent mode the option is grayed out or disabled. There is some form of "award" looking icon without any hover text, for that matter the information button next to "Enable Next ...
https://stackoverflow.com/questions/79632748/agent-mode-disabled-in-visual-studio-2022-17-14-1-copilot-chat
artificial-intelligence, visual-studio-2022, github-copilot
1,747,860,886
se_79841808
stackoverflow
ARTIFICIAL_INTELLIGENCE
Azure PersistentAgent - How to download a file created by the model
Azure PersistentAgent - How to download a file created by the model using Azure.AI.Agents.Persistent; using Azure.Identity; using Microsoft.Agents.AI; using Microsoft.Extensions.AI; public class DemoFileDownload { // insert main method public static async Task Main(string[] args) { var projectEndp...
https://stackoverflow.com/questions/79841808/azure-persistentagent-how-to-download-a-file-created-by-the-model
azure, artificial-intelligence, agent
1,765,276,289
se_79840119
stackoverflow
ARTIFICIAL_INTELLIGENCE
How can we use AI, and what is the main purpose?
How can we use AI, and what is the main purpose? My meanings and thoughts are related to pure purpose. Also, in a particular case, what about the JavaScript project?. Best practices to integrate. Can we use it in old projects, or is the best way to integrate it in React and Angular projects (or similar)?
https://stackoverflow.com/questions/79840119/how-can-we-use-ai-and-what-is-the-main-purpose
javascript, reactjs, angular, artificial-intelligence
1,765,092,391
se_79839973
stackoverflow
ARTIFICIAL_INTELLIGENCE
Building a Task automation tool using OCR and Icons detection with logics setup by persons in Python
Building a Task automation tool using OCR and Icons detection with logics setup by persons in Python Hii I need some suggestions I am planning to build a Specific task performing bot services thing. so far I have build a program that uses OCR for text detection and if that text is there it does the task with the help ...
https://stackoverflow.com/questions/79839973/building-a-task-automation-tool-using-ocr-and-icons-detection-with-logics-setup
python, artificial-intelligence, ui-automation, build-automation
1,765,057,467
se_79839330
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to make Koog AI Agent aware of the previous messages in a Whatsapp API situation
How to make Koog AI Agent aware of the previous messages in a Whatsapp API situation I am creating an AI agent that chats with different customers via Whatsapp API. How am can I make the agent aware of the previous messages with the client? I already save the messages in a database, but how can I pass them to the Agen...
https://stackoverflow.com/questions/79839330/how-to-make-koog-ai-agent-aware-of-the-previous-messages-in-a-whatsapp-api-situa
kotlin, artificial-intelligence, koog
1,764,971,347
se_79833746
stackoverflow
ARTIFICIAL_INTELLIGENCE
Generating Logo's with different styles - I get distorted results
Generating Logo's with different styles - I get distorted results I am building a small app and one of the features is, the user upload a logo and can select different types of visual styles. the logo should be generated in that style.. like minimalistic design , 3d clay and others. ChatGPT does a great job - just...
https://stackoverflow.com/questions/79833746/generating-logos-with-different-styles-i-get-distorted-results
image, artificial-intelligence, dynamic-image-generation
1,764,489,173
se_79836048
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to Use Coding AIs and Services (e.g. Github Copliot) to Achieve the Best and Closest Results?
How to Use Coding AIs and Services (e.g. Github Copliot) to Achieve the Best and Closest Results? I have recently started using many coding-specific AIs and services in my projects, as they are very useful and functional, however, for some projects or tasks, it will not achieve what I want, and makes a mess. One other...
https://stackoverflow.com/questions/79836048/how-to-use-coding-ais-and-services-e-g-github-copliot-to-achieve-the-best-and
artificial-intelligence, github-copilot
1,764,689,397
se_79835621
stackoverflow
ARTIFICIAL_INTELLIGENCE
Will AI reduce the demand for software developers in the future? and stackoverflow effect due to AI
Will AI reduce the demand for software developers in the future? and stackoverflow effect due to AI I'm noticing rapid improvements in AI tools (ChatGPT, GitHub Copilot, etc.), and I'm concerned about how this will impact developer jobs in the next few years. Will AI replace developers, or will it just change the way ...
https://stackoverflow.com/questions/79835621/will-ai-reduce-the-demand-for-software-developers-in-the-future-and-stackoverfl
artificial-intelligence, chatgpt-api
1,764,662,744
se_79826863
stackoverflow
ARTIFICIAL_INTELLIGENCE
Speech-to-AI generated image
Speech-to-AI generated image I have a project for a museum where I need to develop a generative AI program to interpret visitors' words and transform their stories into stylized digital drawings. The visitor pushes on a button and then talks into a microphone. His/her speech as to be converted into an image. The gener...
https://stackoverflow.com/questions/79826863/speech-to-ai-generated-image
image, artificial-intelligence, speech-to-text
1,763,751,429
se_79833354
stackoverflow
ARTIFICIAL_INTELLIGENCE
Data-scheme enriched with meaningful explanations for AI
Data-scheme enriched with meaningful explanations for AI Is there any TypeScript-safe library that can automatically generate a schema from a real dataset, but with more than just field names and types? I mean something that can look at real data and produce a structure that includes: inferred field types descriptio...
https://stackoverflow.com/questions/79833354/data-scheme-enriched-with-meaningful-explanations-for-ai
node.js, typescript, artificial-intelligence, open-source
1,764,431,583
se_79832600
stackoverflow
ARTIFICIAL_INTELLIGENCE
What’s the best architecture for mixing local AI + cloud AI inside a React/JS app without turning the codebase into spaghetti?
What’s the best architecture for mixing local AI + cloud AI inside a React/JS app without turning the codebase into spaghetti? I’m trying to design a “future-proof” React/JS setup where the app can switch between different AI backends (local models like WebGPU/WebLLM, API models like OpenAI/Gemini, and maybe even cust...
https://stackoverflow.com/questions/79832600/what-s-the-best-architecture-for-mixing-local-ai-cloud-ai-inside-a-react-js-ap
javascript, reactjs, design-patterns, artificial-intelligence
1,764,336,799
se_79832402
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to read a large Python project (for example, a project of Deep Learning or Reinforcement Learning)
How to read a large Python project (for example, a project of Deep Learning or Reinforcement Learning) I've downloaded many Python projects about Reinforcement Learning from Github, but each takes me too much time to read. It's easy to comprehend a simple Python project with only a few *.py files, but how to read a pr...
https://stackoverflow.com/questions/79832402/how-to-read-a-large-python-project-for-example-a-project-of-deep-learning-or-r
python, github, deep-learning, artificial-intelligence, reinforcement-learning
1,764,320,950
se_79779187
stackoverflow
ARTIFICIAL_INTELLIGENCE
Google Generative AI: 404 "models/gemini-1.5-flash is not found" error when calling generateContent
Google Generative AI: 404 "models/gemini-1.5-flash is not found" error when calling generateContent I have a Flask application that integrates with Google Generative AI (Gemini) and Google Calendar. It used to work fine, but recently I started running into two issues: Model not found (404) error Whenever ...
https://stackoverflow.com/questions/79779187/google-generative-ai-404-models-gemini-1-5-flash-is-not-found-error-when-call
python, artificial-intelligence, google-gemini
1,759,240,632
se_79830666
stackoverflow
ARTIFICIAL_INTELLIGENCE
Speed up LangGraph REACT + RAG.(Multi-Agent Chatbot)
Speed up LangGraph REACT + RAG.(Multi-Agent Chatbot) I’m trying to reduce latency in a LangGraph-powered chatbot that uses 14 REACT-style agents. The RAG layer pulls external knowledge from a vector DB. The issue: The REACT reasoning loop triggers several thought + action cycles RAG retrieval can be slow Combined, ...
https://stackoverflow.com/questions/79830666/speed-up-langgraph-react-rag-multi-agent-chatbot
python, artificial-intelligence, fastapi, langchain, agent
1,764,158,541
se_79827749
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to handle bearer token acquisition across multiple layers in a multi-agent system using Microsoft Entra ID
How to handle bearer token acquisition across multiple layers in a multi-agent system using Microsoft Entra ID I am working with the following architecture: 1. API layer (public client) secured with Microsoft Entra ID using Authorization Code Flow with PKCE. 2. The API calls a Microsoft Foundry Orchestration agent (mu...
https://stackoverflow.com/questions/79827749/how-to-handle-bearer-token-acquisition-across-multiple-layers-in-a-multi-agent-s
azure, artificial-intelligence
1,763,883,609
se_79825232
stackoverflow
ARTIFICIAL_INTELLIGENCE
Best method to manage metrics of prompts that are stored in a git repository
Best method to manage metrics of prompts that are stored in a git repository We are building an LLM-based application which takes a lot of user data from various internal sources. It then sends the data to various prompts which provide the answers needed to fill out forms correctly. The prompts are being stored in the...
https://stackoverflow.com/questions/79825232/best-method-to-manage-metrics-of-prompts-that-are-stored-in-a-git-repository
python, architecture, artificial-intelligence, large-language-model
1,763,624,956
se_79826779
stackoverflow
ARTIFICIAL_INTELLIGENCE
My Code With Openrouter api is not working
My Code With Openrouter api is not working I'm trying to automate intraday financial analysis using OpenRouter's free models. My Python script rotates through several LLM endpoints, sending a prompt about a stock's symbol, change, and closing price. If any model fails (API error, empty response, etc.), it tries the ne...
https://stackoverflow.com/questions/79826779/my-code-with-openrouter-api-is-not-working
python, artificial-intelligence, python-3.5, large-language-model, openrouter
1,763,744,561
se_79826757
stackoverflow
ARTIFICIAL_INTELLIGENCE
How can I design “story-driven NPCs” in a reinforcement-learned environment? Looking for development directions and architectural advice
How can I design “story-driven NPCs” in a reinforcement-learned environment? Looking for development directions and architectural advice I’m working on a thesis about "story-driven NPCs in a reinforcement-learning world", and I’m building a small multi-agent RL environment as a prototype. However, I’m unsure how to pu...
https://stackoverflow.com/questions/79826757/how-can-i-design-story-driven-npcs-in-a-reinforcement-learned-environment-loo
artificial-intelligence, game-development, reinforcement-learning
1,763,743,110
se_61297284
stackoverflow
ARTIFICIAL_INTELLIGENCE
Deciding on inputs for snake AI
Deciding on inputs for snake AI I'm trying to make snake AI with python-NEAT library. The problem i have been facing is with the inputs to the neural network. Right now, I'm just calculating the distance of it's from all of the walls (top, right, left, bottom) and distance of it from the food and feeding it to the neu...
https://stackoverflow.com/questions/61297284/deciding-on-inputs-for-snake-ai
python, neural-network, artificial-intelligence, genetic-algorithm, evolutionary-algorithm
1,587,249,901
se_78376085
stackoverflow
ARTIFICIAL_INTELLIGENCE
RuntimeError: Default process group has not been initialized, please make sure to call init_process_group
RuntimeError: Default process group has not been initialized, please make sure to call init_process_group I am using CoDi which is multimodal Latent diffusion model. I am trying to remove the modules on images and video from CoDi and fine tune it with text-music pair data. The training script (train.py) for generating...
https://stackoverflow.com/questions/78376085/runtimeerror-default-process-group-has-not-been-initialized-please-make-sure-t
python, machine-learning, deep-learning, pytorch, artificial-intelligence
1,713,935,111
se_2444953
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to use ngram to do word similarity?
How to use ngram to do word similarity? I hear that google uses up to 7-grams for their semantic-similarity comparison. I am interested in finding words that are similar in context (i.e. cat and dog) and I was wondering how do I compute the similarity of two words on a n-gram model given that n > 2. So basically given...
https://stackoverflow.com/questions/2444953/how-to-use-ngram-to-do-word-similarity
machine-learning, nlp, artificial-intelligence, n-gram
1,268,624,348
se_62272056
stackoverflow
ARTIFICIAL_INTELLIGENCE
What are the differences between contextual embedding and word embedding
What are the differences between contextual embedding and word embedding I am trying to understand the concept of embedding for the deep learning models. I understand how employing word2vec can address the limitations of using the one-hot vectors. However, recently I see a plethora of blog posts stating ELMo, BERT, ...
https://stackoverflow.com/questions/62272056/what-are-the-differences-between-contextual-embedding-and-word-embedding
machine-learning, deep-learning, nlp, artificial-intelligence, word-embedding
1,591,654,630
se_71012012
stackoverflow
ARTIFICIAL_INTELLIGENCE
ModuleNotFoundError: no module named 'transformers'
ModuleNotFoundError: no module named 'transformers' This is my first post and I am new to coding, so please let me know if you need more information. I have been running some AI to generate artwork and it has been working, but when I reloaded it the python script won't work and it is now saying "No module name...
https://stackoverflow.com/questions/71012012/modulenotfounderror-no-module-named-transformers
python, artificial-intelligence, google-colaboratory, importerror, huggingface-transformers
1,644,184,485
se_75692974
stackoverflow
ARTIFICIAL_INTELLIGENCE
Detect dark vs well-lit image using existing AI model
Detect dark vs well-lit image using existing AI model I am using the below code to detect dark vs well-lit images but it is not giving accurate results and is giving very long floating values like .00000000123 etc. #!/usr/bin/env python3 import cv2 import tensorflow as tf import numpy as np import os path = '/home/.....
https://stackoverflow.com/questions/75692974/detect-dark-vs-well-lit-image-using-existing-ai-model
python, tensorflow, artificial-intelligence, image-classification
1,678,430,672
se_79815465
stackoverflow
ARTIFICIAL_INTELLIGENCE
As Data Engineer, what is the best way to grow/prepare/transit to AI era?
As Data Engineer, what is the best way to grow/prepare/transit to AI era? As an experienced data engineer, what is the best way to prepare/grow/transition to the AI era? I have over a decade of DE experience, with AI advancement and adoption, I feel the need to grow as a DE to be more capable in the growing AI landsca...
https://stackoverflow.com/questions/79815465/as-data-engineer-what-is-the-best-way-to-grow-prepare-transit-to-ai-era
artificial-intelligence, advice
1,762,769,470
se_79654244
stackoverflow
ARTIFICIAL_INTELLIGENCE
DeepsSeek Reasoner API returning empty responses
DeepsSeek Reasoner API returning empty responses I have created a class call "AiClient" where I use the deepseek API to do requests. The code has been working properly for months. Now, when I try to do a request, the completion object has all the “reasoning” content, but the message content is empty. I have already tr...
https://stackoverflow.com/questions/79654244/deepsseek-reasoner-api-returning-empty-responses
python, artificial-intelligence, deepseek
1,749,118,401
se_54286472
stackoverflow
ARTIFICIAL_INTELLIGENCE
Why Long Short-term Memory (LSTM) is called as both a Long and Short type of Memory?
Why Long Short-term Memory (LSTM) is called as both a Long and Short type of Memory? Can any one tell me why LSTM is called as both Long and Short type of memory? I know in LSTM, they stored the some amount of data of their previous state. But if it is stored as short time,then why it is called as a Long Term memory, ...
https://stackoverflow.com/questions/54286472/why-long-short-term-memory-lstm-is-called-as-both-a-long-and-short-type-of-mem
machine-learning, artificial-intelligence, lstm
1,548,061,495
se_79806152
stackoverflow
ARTIFICIAL_INTELLIGENCE
ModuleNotFoundError when importing ConversationBufferMemory and ConversationalRetrievalChain from LangChain
ModuleNotFoundError when importing ConversationBufferMemory and ConversationalRetrievalChain from LangChain I'm trying to import ConversationBufferMemory and ConversationalRetrievalChain in my Python notebook as follows: from langchain.memory import ConversationBufferMemory from langchain.chains import ConversationalR...
https://stackoverflow.com/questions/79806152/modulenotfounderror-when-importing-conversationbuffermemory-and-conversationalre
python, artificial-intelligence, langchain, large-language-model, py-langchain
1,761,939,624
se_5332380
stackoverflow
ARTIFICIAL_INTELLIGENCE
What's the utility theory in artificial intelligence?
What's the utility theory in artificial intelligence? I have the book Artificial Intelligence: A Modern Approach (by Stuart Rusell). I am reading chapter 16, "Making simple decisions", but I do not get the main idea of the "utility theory", can you provide a detailed example?
https://stackoverflow.com/questions/5332380/whats-the-utility-theory-in-artificial-intelligence
artificial-intelligence
1,300,312,826
se_79805801
stackoverflow
ARTIFICIAL_INTELLIGENCE
Proper way to weight whole tag group same, based on code?
Proper way to weight whole tag group same, based on code? https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/prompt_parser.py Is the proper way to weigh a group: (tag1, tag2, tag3):2 or (tag1, tag2, tag3:2)
https://stackoverflow.com/questions/79805801/proper-way-to-weight-whole-tag-group-same-based-on-code
artificial-intelligence, image-generation
1,761,914,792
se_79799901
stackoverflow
ARTIFICIAL_INTELLIGENCE
Chat model returns empty content when I inject a delayed ToolMessage from a scheduled callback
Chat model returns empty content when I inject a delayed ToolMessage from a scheduled callback I have a scheduler that triggers a tool function later (outside the original user–model exchange). When the scheduled time comes, it sends a ToolMessage back into the chat model — but the model returns an empty message conte...
https://stackoverflow.com/questions/79799901/chat-model-returns-empty-content-when-i-inject-a-delayed-toolmessage-from-a-sche
python, artificial-intelligence, google-gemini, langgraph, chatgpt-function-call
1,761,465,808
se_79801643
stackoverflow
ARTIFICIAL_INTELLIGENCE
AttributeError: 'NoneType' object has no attribute 'blocks' when running Cache-DiT example with Wan2.2 model
AttributeError: 'NoneType' object has no attribute 'blocks' when running Cache-DiT example with Wan2.2 model I’m trying to use Cache-DiT to accelerate inference for the Wan2.2 model. However, when I run the example script, python run_wan_2.2_i2v.py --steps 28 --cache I get the following error. Namespa...
https://stackoverflow.com/questions/79801643/attributeerror-nonetype-object-has-no-attribute-blocks-when-running-cache-d
deep-learning, pytorch, artificial-intelligence
1,761,556,882
se_79658224
stackoverflow
ARTIFICIAL_INTELLIGENCE
evaluation_strategy() not supported in transformers library
evaluation_strategy() not supported in transformers library I've recently been attempting to fine-tune the pretrained neural network, "cardiffnlp/twitter-roberta-base-offensive." However, when I attempted to run a Python program I created, "evaluation_strategy" was considered to be an "unexpected argument" regardless ...
https://stackoverflow.com/questions/79658224/evaluation-strategy-not-supported-in-transformers-library
python, machine-learning, pytorch, artificial-intelligence, huggingface-transformers
1,749,425,227
se_79796571
stackoverflow
ARTIFICIAL_INTELLIGENCE
Gemini Nano AICore prompt failing with 11-RESPONSE_PROCESSING_ERROR on Android
Gemini Nano AICore prompt failing with 11-RESPONSE_PROCESSING_ERROR on Android I'm trying to run the following prompt on Gemini Nano, the on-device AI. I'm running the prompt on the sample app Google provided: TASK: Extract entities from the input text into a single JSON object. DEFINITIONS: - fname: First name of th...
https://stackoverflow.com/questions/79796571/gemini-nano-aicore-prompt-failing-with-11-response-processing-error-on-android
android, artificial-intelligence, prompt, google-gemini
1,761,122,757
se_79787781
stackoverflow
ARTIFICIAL_INTELLIGENCE
Matching PyTorch and ONNX outputs layer-wise for debugging inference drift
Matching PyTorch and ONNX outputs layer-wise for debugging inference drift I want to debug layer-by-layer to see where the ONNX model starts deviating from the PyTorch model outputs. I can extract intermediate outputs in PyTorch using forward hooks, like: def get_activation(name): def hook(model, input, output): ...
https://stackoverflow.com/questions/79787781/matching-pytorch-and-onnx-outputs-layer-wise-for-debugging-inference-drift
machine-learning, pytorch, artificial-intelligence, onnx
1,760,149,969
se_79792670
stackoverflow
ARTIFICIAL_INTELLIGENCE
How can I run the inference on the HunyuanImage-3.0 model?
How can I run the inference on the HunyuanImage-3.0 model? I follow the instructions on https://github.com/Tencent-Hunyuan/HunyuanImage-3.0: conda create -y -n hunyuan312 python=3.12 conda activate hunyuan312 # 1. First install PyTorch (CUDA 12.8 Version) pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1...
https://stackoverflow.com/questions/79792670/how-can-i-run-the-inference-on-the-hunyuanimage-3-0-model
python, artificial-intelligence, image-generation, tencent
1,760,662,696
se_78860941
stackoverflow
ARTIFICIAL_INTELLIGENCE
Model not found Scrapegraph-ai
Model not found Scrapegraph-ai I'm trying to get scapegraph-ai working. I downloaded the repo from here https://github.com/ScrapeGraphAI/Scrapegraph-ai and followed the instructions in the readme. I downloaded Ollama from here https://ollama.com/ and downloaded the LLama3.1 model. When I launch Ollama from CMD everyth...
https://stackoverflow.com/questions/78860941/model-not-found-scrapegraph-ai
python, web-scraping, artificial-intelligence
1,723,455,121
se_79667785
stackoverflow
ARTIFICIAL_INTELLIGENCE
How to fix MCP error -32000: Connection closed conecting a new MCP server with Roo code extension in VScode?
How to fix MCP error -32000: Connection closed conecting a new MCP server with Roo code extension in VScode? I'm trying to connect a new MCP server (Superset MCP) using the RooCode extension in VSCode. The time MCP server works correctly, but when trying to start the superset-mcp one, I get this error: MCP error -3200...
https://stackoverflow.com/questions/79667785/how-to-fix-mcp-error-32000-connection-closed-conecting-a-new-mcp-server-with-r
artificial-intelligence, vscode-extensions, agent, apache-superset, model-context-protocol
1,750,083,472