These days, machine learning and computer vision are all the craze. We’ve all seen the news about self-driving cars and facial recognition and probably imagined how cool it’d be to build our own computer vision models. However, it’s not always easy to break into the field, especially without a strong math background. Libraries like PyTorch and TensorFlow can be tedious to learn if all you want to do is experiment with something small.
Hi, I’m getting this error:
num_samples should be a positive integer value, but got num_samples=0
while executing this code
from detecto import core, utils, visualize
dataset = core.Dataset(‘images/’)
model = core.Model([‘alien’, ‘bat’, ‘witch’])
I triple checked that my file path was correct. I even tried it in spyder since I thought maybe it was a google drive problem, but nothing.