How can rename the names of folders to labels that are in .csv files with Python?
I have some folders that there are some .dcm images in every folder. the labels of images are based on the names of folders. so, I have to rename the names of folders based on the names of labels in .csv file, how can I do it?
there are some .dcm image in every folder, for example:
folder1 is 234176.123458 label in .csv is 1
folder2 is 9332.1234.890 label in .csv is 2
….
How To get consistent and expected json from Autogen
I’m using multi-agent autogen where I have multiple critic agents who review writer agent’s report. I need to get critic reviews in a specific json format but I’m not getting a consistent and expected Json as output. How can I get this ?
I tried configuring llm config with the below param but no use.
ValueError: setting an array element with a sequence. (inhomogeneous shape after 1 dimensions)
I am using this tutorial to learn the basics of AI: https://www.youtube.com/watch?v=Gq1Azv_B4-4&list=PLQVvvaa0QuDezJFIOU5wDdfy4e9vdnx-7&index=3.
The current code I have is this one:
AI for game I want to understand what logic to use [closed]
Closed 8 mins ago.
I can’t get a vocal answer back on my Virtual assistant AI like Iron Man’s Jarvis on Python 3.12 with VS Code. Only types my question
I’m doing a vocal virtual assistant AI like Iron Man’s Jarvis on Python 3.12 with VS Code and couldn’t solve this for almost in the last month.
I’m imported; os, time, google gTTS, openai (with openAI’s api key), setuptools, pyaudio(by brew install pyaudio), playsound, speechrecognition, uuid.
In Python Jupiter AI Deeplearning, how to delete specific condition rows during preprocessing
I’m wondering how to delete rows that meet specific conditions during preprocessing.
In Python Jupiter AI Deeplearning, how to delete specific condition rows during preprocessing
I’m wondering how to delete rows that meet specific conditions during preprocessing.
Trouble when using a custom callback in the keras tuner
While using the Keras tuner’s HPO, I was trying to add a custom metric and receive the results as a list, but an issue was identified where the results at the end of training were not saved in the variable defined in init.