Skip to content

Commit

Permalink
race updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jan 21, 2017
1 parent 4660c3e commit c2671db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions demos/serve_no_pilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
session = sh.new()

#start server
w = dk.remotes.RemoteServer(session, pilot)
w = dk.remotes.RemoteServer(session, pilot, port=8886)
w.start()

#in a browser go to localhost:8887 to drive your car
#in a browser go to localhost:8887 to drive your car
6 changes: 3 additions & 3 deletions demos/serve_pilot.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#Load a trained keras model and use it in the KerasAngle pilot
#model_file = '/home/wroscoe/code/donkey/whiteline_model.hdf5'
model_file = '/home/wroscoe/f8_trained'
model_file = '/home/ubuntu/will_car/ac_all-cnn3_full1-valloss623.82'
model = keras.models.load_model(model_file)
pilot = dk.pilots.KerasAngle(model=model, throttle=20)

Expand All @@ -17,7 +17,7 @@
session = sh.new()

#start server
w = dk.remotes.RemoteServer(session, pilot)
w = dk.remotes.RemoteServer(session, pilot, port=8886)
w.start()

#in a browser go to localhost:8887 to drive your car
#in a browser go to localhost:8887 to drive your car

0 comments on commit c2671db

Please sign in to comment.