DT42 / BerryNet

Deep learning gateway on Raspberry Pi and other edge devices
GNU General Public License v3.0
1.6k stars 230 forks source link

what do i need to do when run ./configure? #9

Closed GitHubForNH2 closed 6 years ago

GitHubForNH2 commented 6 years ago

i don't konw how to get a result from this project. when i run "./configure" i haven't get anything but MQTT CLIENT LOGS , i don't konw where can i get a result when i run "mosquitto_pub -h localhost -t berrynet/event/localImage -m ./dog.jpg"

bafu commented 6 years ago

@GitHubForNH2 You can see the inference result on the dashboard. So here are the high-level steps:

# Step 1: Install
rpi3 $ ./configure

# Step 2: Launch BerryNet
rpi3 $ berrynet-manager start

# Step 3: Launch dashboard, you can use your notebook's browser

# Step 4: Execute MQTT publish command to send an image as input
rpi3 $ mosquitto_pub -h localhost -t berrynet/event/localImage -m ./dog.jpg

# Step 5: See the inference result on dashboard

Please let me know if you still have any issue, thanks.

muzi2045 commented 6 years ago

when I run this: $ mosquitto_pub -h localhost -t berrynet/event/localImage -m ./dog.jpg I got a Error: Connection refused I don't know what happended. Is there anyone explain it ?

toponsky commented 6 years ago

I am confusing here too. Does the project has mqtt broker build in? Or it needs a mqtt broker on the pi?

danrubins commented 6 years ago

@muzi2045, I had this same problem. I installed MongoDB, set it up to start on boot, and everything started to work.

muzi2045 commented 6 years ago

@dhrubins, thanks for your advice , I'll try it .

bafu commented 6 years ago

@GitHubForNH2 @muzi2045 @yimingliu0216 @dhrubins The v2.3.0 installation image is available now, and it will save community friends' efforts to build from scratch. Please try it and feel free to let me know if there is any issues, thanks!

bafu commented 6 years ago

@yimingliu0216 BerryNet project is using Mosca as default broker, and we are surveying the performance and compatibility of EMQ.