Closed j-varun closed 6 years ago
I tried running it and got the following error: https://gist.github.com/ahundt/7d365c99065a8746561528734b94f4a2
I fixed the command a bit and ran into the following:
bokeh serve --show scripts/stack_player.py --args --preprocess-inplace gripper_action --data "~/.keras/datasets/costar_task_planning_stacking_dataset_v0.1/*success.h5f"
2018-06-09 20:50:45,954 Starting Bokeh server version 0.12.16 (running on Tornado 5.0.2)
2018-06-09 20:50:45,962 Bokeh app running at: http://localhost:5006/stack_player
2018-06-09 20:50:45,962 Starting Bokeh server with process id: 4524
/Users/athundt/.local/lib/python/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
2018-06-09 20:50:49,222 Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x10e8be810>: list index out of range
File "stack_player.py", line 154, in <module>:
rgb_images, frame_indices, gripper_status, action_status, gripper_action_label, gripper_action_goal_idx = process_image(file_name_list[0]) Traceback (most recent call last):
File "/Users/athundt/.local/lib/python/site-packages/bokeh/application/handlers/code_runner.py", line 163, in run
exec(self._code, module.__dict__)
File "/Users/athundt/source/costar_plan/ctp_integration/scripts/stack_player.py", line 154, in <module>
rgb_images, frame_indices, gripper_status, action_status, gripper_action_label, gripper_action_goal_idx = process_image(file_name_list[0])
IndexError: list index out of range
2018-06-09 20:50:49,254 200 GET /stack_player (::1) 2289.52ms
2018-06-09 20:50:49,813 101 GET /stack_player/ws?bokeh-protocol-version=1.0&bokeh-session-id=IJ4kux9pEYQL93xNm7LkFAEZdtNjWaLplewm5pAwcOj9 (::1) 1.59ms
2018-06-09 20:50:49,813 WebSocket connection opened
2018-06-09 20:50:49,814 ServerConnection created
might I also suggest descriptive branch names? temp doesn't have any meaning. :-)