66 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
68
views
How to Load a Custom-Trained ResNet50 Model with ImageAI in Python?
I'm working on an image classification project using a custom-trained ResNet50 model with ImageAI, but I'm encountering a persistent loading error that prevents me from using my trained model for ...
-1
votes
1
answer
100
views
Mage cannot connect to Postgresql hosted in docker
Here my docker compose file
version: '3'
services:
magic:
image: mageai/mageai:latest
command: mage start ${PROJECT_NAME}
env_file:
- .env
build:
context: .
...
2
votes
2
answers
9k
views
Keras 3 only supports V3 `.keras` files and legacy H5 format files (`.h5` extension). How to fix this bug?
ValueError: File format not supported: filepath=C:\Users\fedmor\Desktop\AI\resnet50_coco_best_v2.0.1 (1). Keras 3 only supports V3 .keras files and legacy H5 format files (.h5 extension). Note that ...
1
vote
1
answer
303
views
Mage.ai in Docker with MYSQL in Docker 2003 (HY000): Can't connect to MySQL server on '*********:33060' (99)
I am using a data pipeline tool and I'm trying to integrate with a MYSQL database in Docker "local-mysql" that has its own container on port 3306. While the data pipeline tool called Mage....
1
vote
1
answer
301
views
Flask app deployed on PythonAnywhere with Machine Learning model not responding
I am new to PythonAnywhere and facing an issue while deploying my Flask app. The app works fine on my local PC, but I encountered problems when deploying it to PythonAnywhere. Specifically, when I ...
0
votes
0
answers
111
views
OpenCV error when using Live Feed for imageAI tutorial
I am looking to complete a simple live feed object detection tutorial from the 'imageai' documentation (https://imageai.readthedocs.io/en/latest/video/index.html). As per tutorial the code is ...
0
votes
1
answer
413
views
Drawing bounding box with ImageAI
I am using ImageAI to draw bounding boxes on images.
from imageai.Detection import ObjectDetection
detector = ObjectDetection()
detector.setModelTypeAsRetinaNet()
# Load model
model_path = '...
0
votes
1
answer
1k
views
the imageai module requires Pytorch to work in Python3.10
I am trying to install imageai in Python3.10. It is installed but when I import the module imageai, it requires installing pytorch and torchvision:
Dependency error!!! PyTorch and TorchVision are not ...
1
vote
0
answers
51
views
ImageAI variable shape and value shape are different
I am using the imageai.Detection.Custom.CustomObjectDetection class to label my test image based on the model that I trained.
The model was trained using the imageai.Detection.Custom....
0
votes
2
answers
2k
views
Can't import object detection imageai (python)
I installed imageai,tensorflow,keras in python with pip
i typed this code
from imageai.Detection import ObjectDetection
it shows this error
ModuleNotFoundError: No module named 'keras.layers....
0
votes
0
answers
217
views
ModuleNotFoundError: No module named 'tensorflow.python.platform'
I'm using imageAI with tensorflow and keras.
Now I get the problem is : ModuleNotFoundError: No module named 'tensorflow.python.platform'
I have find many different methods to solve it, but they do ...
2
votes
0
answers
898
views
Display live camera feed with object recognition markers Python ImageAI OpenCV
I've been using the image AI library to create a simple object detection system using python, which currently records video using the webcam and as far as I can tell detects objects live, once the ...
1
vote
0
answers
341
views
python imageai error `Function call stack: train_function`
Hi sorry for the cringe "tell me what this means" question but I can't seem to figure it out...
Here's the code
from imageai.Classification.Custom import ClassificationModelTrainer
...
0
votes
0
answers
261
views
Calculate the number of objects in a video using the imageai library
Hello everyone I want to count the number of objects in a video using the imageai library.
This is my source code:
from imageai.Detection import ObjectDetection
import cv2
import time
video = cv2....
0
votes
1
answer
207
views
Virtual dog fence with ImageAI
I'd like to detect when my dog sets foot in the lawn.
In the attached image, that brown-reddish dirt strip will eventually become my lawn.
I have a fixed camera that streams a live video of my ...