Comments (11)
Hi,
@allanis79. I'd suggest you to add a second category e.g. no-phone. (you'll have two categories: phone and no-phone)
You need to show to classifier how photo with phone looks like and how photo without phone looks like.
If you'll have just one label then classifier will assign all photos to this label.
EDIT: Probably that's why having one label is not allowed
Hopefully it helps you.
Best regards,
Tomek
from imageai.
thanks, I solved it. :)
from imageai.
So, I was getting the same issue here and I fixed changing the expected output type.
I was expecting an integer, after parse the integer to a plain-string, the error was gone.
from imageai.
can not train one object.
from imageai.
I am getting the same error, can I know how you solved it?
from imageai.
I am getting the same error, can I know how you solved it?
You must have at least 2 different types of object you need the model to recognize.
from imageai.
see the above image? I want to detect the phone in that image. So I have only one label. Any ideas on how to approach the above problem?
from imageai.
@allanis79 , I guess you created the no-phone
class, right? If that is the case, how many images did you need for this class - and, if applicable - did you do any comparison on the effect of the number of images for this class?
from imageai.
yes I did create a no phone class. I made around 700 images. I didn't compare it with anything else.
from imageai.
I know that this is old and may not be watched, but quick question. If I am doing something similar, basically it is or isn't there, do I need provide consistent images for the 'not there' option or can I provide random images? For the testing does it need to be anything consistent for the 'not there' option?
from imageai.
I think the more images you provide for the not-there
class, the better it is. In your case I think it totally makes sense for them to be random and include as much different domains as possible
from imageai.
Related Issues (20)
- Does ImageAI support rotation anchor box?
- AssertionError while generating anchors HOT 4
- continue training on classification or transfer weight to expand dataset regulary HOT 1
- OpenCV: FFMPEG: tag is not supported with codec id 12 and format 'mp4 / MP4 HOT 1
- WARNING:tensorflow:Compiled the loaded model, but the compiled metrics have yet to be built. `model.compile_metrics` will be empty until you train or evaluate the model. W0525 15:34:09.281517 139881406207808 saving_utils.py:328] Compiled the loaded model, but the compiled metrics have yet to be built. `model.compile_metrics` will be empty until you train or evaluate the model. 2023-05-25 15:34:13.758020: W tensorflow/python/util/util.cc:368] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them. INFO:tensorflow:Assets written to: ./checkpoints/yolov4-tiny-416/assets I0525 15:34:19.957567 139881406207808 builder_impl.py:779] Assets written to: ./checkpoints/yolov4-tiny-416/assets HOT 1
- Error: cannot reshape array of size 134 into shape (5) HOT 1
- loadModel() got an unexpected keyword argument 'detection_speed' HOT 2
- Website gives 404 HOT 1
- Can't find this function,detectCustomObjectsFromImage. HOT 2
- Error when training custom detection: bounding box values should be in the range 0 - 1 HOT 1
- Multiple GPU support with pytorch backend HOT 1
- Custom image detection always returns one wrong result HOT 1
- File size reduction HOT 2
- ml
- How can I do to make that the processed video stream is playing in real-time to users in ImageAI? HOT 1
- How to run ImageAI on AMD GPU? HOT 1
- Custom Object Detection HOT 1
- ModuleNotFoundError: No module named 'imageai' HOT 2
- Custom Detection Model Training: Validation values schow always 0.000000 HOT 1
- TypeError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageai.