Skip to content

Instantly share code, notes, and snippets.

@ps2
Created May 30, 2018 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ps2/25b9cddbcb111d6be51373ed130a5855 to your computer and use it in GitHub Desktop.
Save ps2/25b9cddbcb111d6be51373ed130a5855 to your computer and use it in GitHub Desktop.
================================================================================
Processing frame 2018-05-15 18:14:00
moving_sensor_drift_tensor: [1]
room_min_scaled: [[-1.88458574 -2.72207022 -19.0838356 -0.227064267 -10.2248421 -2.13058543 -15.9964218 -3.06949019 -17.2701111 -0.873877585]...]
room_max_scaled: [[18.8154144 0.857929707 1.61616516 3.35293555 10.4751587 1.44941449 4.70357895 0.510509729 3.42988968 2.7061224]...]
x_continuous_previous_tensor: [[1.88458574 2.72207022 19.0838356 0.227064267 10.2248421 2.13058543 15.9964218 3.06949019 17.2701111 0.873877585]...]
*** processing time: 165ms
child 11065 (20): (1.580658, 2.804938)
child 11067 (21): (20.374674, 0.081039)
child 28583 (23): (9.539898, 2.931691)
child 38678 (26): (17.444689, 2.000093)
child 39282 (22): (16.574183, 0.449387)
child 41582 (18): (20.327974, 2.274138)
child 47422 (24): (15.398174, 2.854581)
child 47423 (13): (19.952030, 0.450244)
child 62461 (11): (5.205765, 2.717120)
child 83981 (28): (9.429539, 1.189172)
child 84665 (25): (6.761943, 0.465794)
material 1208461 (44): (5.079989, 0.844847)
material 1208463 (43): (14.672050, 2.098292)
material 1208464 (45): (13.544801, 2.097148)
material 1208466 (47): (12.231997, 2.385510)
material 1208468 (46): (16.905521, 3.155199)
material 1208469 (48): (10.962612, 1.362826)
material 1208471 (40): (17.312939, 0.682955)
teacher 5612 (30): (3.813630, 2.448188)
teacher 5613 (29): (17.429144, 2.576789)
================================================================================
Processing frame 2018-05-15 18:14:10
moving_sensor_drift_tensor: [1]
x_continuous_previous_tensor: [[1.55602181 2.84178615 20.3959827 0.0642586648 9.53029537 2.97347593 17.5096722 1.96559894 16.5635128 0.434862345]...]
room_min_scaled: [[-1.55602181 -2.84178615 -20.3959827 -0.0642586648 -9.53029537 -2.97347593 -17.5096722 -1.96559894 -16.5635128 -0.434862345]...]
room_max_scaled: [[19.1439781 0.738213778 0.304018021 3.51574135 11.1697054 0.606524 3.1903286 1.61440098 4.13648796 3.14513755]...]
Traceback (most recent call last):
File "./bin/smclocalize_worker", line 243, in <module>
worker.run_for_date(options.date)
File "./bin/smclocalize_worker", line 177, in run_for_date
locations = self.process_frame(frame, pd.Timestamp(frame_valid_time), delta_t, initial_frame)
File "./bin/smclocalize_worker", line 187, in process_frame
self.state = ModelState(*self.sensor_model.generate_next_particles(*self.state, y_discrete, y_continuous, delta_t)[:3])
File "/home/pete/smclocalize/smclocalize/smc_model.py", line 419, in generate_next_particles
raise Exception('Some log weights are NaN')
Exception: Some log weights are NaN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment