rlabbe / Kalman-and-Bayesian-Filters-in-Python

Kalman Filter book using Jupyter Notebook. Focuses on building intuition and experience, not formal proofs. Includes Kalman filters,extended Kalman filters, unscented Kalman filters, particle filters, and more. All exercises include solutions.
Other
16.45k stars 4.16k forks source link

PNGs corrupted by ascii conversion #253

Closed babazaroni closed 5 years ago

babazaroni commented 5 years ago

Can only view the pngs if they are already rendered in a notebook. For instance, residual_chart.png in chapter 4 is only viewable on github. The png's in the fig folder are corrupted and cannot be viewed by standard image viewers, on Mac or Ubuntu. I suspect they may have been corrupted on upload to github.

x1angli commented 5 years ago

I have the same problem here.

for example, if we go to https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python/blob/master/06-Multivariate-Kalman-Filters.ipynb

a measurement and a prediction, as in this chart:

then the image immediately following it (which is "./figs/residual_chart.png") is corrupted.

I checked the .png file, it's corrupted. I can't view it on github, on nbviewer, or on my local machine (I did a git-clone).

rlabbe commented 5 years ago

I think this is fixed now. Please reopen if it does't work on your environment (and let me know what that environment is).