4

I've trained a net using Darkflow and now have the .pb files. I was wondering if it's possible (and if it is, how can it be done) to convert the files to .weight files for Darknet? I'd like to use Darknet with these files to classify images on Raspberry Pi.

I've been Googling but I see most people want to do the opposite.

Bugs
  • 4,491
  • 9
  • 32
  • 41
Paula
  • 87
  • 1
  • 9

1 Answers1

1

Instead of weight file try .pb:

sudo ./darknet detector test cfg/coco.data cfg/yolov2.cfg <yourfile>.pb data/dog.jpg
Bugs
  • 4,491
  • 9
  • 32
  • 41
  • I didn't know they could be used in darknet, thanks! Generating pb files seem to be broken in Darkflow though... just realized a few weeks ago. – Paula Mar 28 '18 at 13:04