Skip to main content

Posts

Showing posts from April, 2020

Artist got automated

Here is my first Tensorflow run to convert images to different styles of famous painters I am using the code that is available at  https://github.com/lengstrom/fast-style-transfer It uses specific versions of below libraries !apt install ffmpeg !pip install tensorflow==0.12.1 !pip install numpy==1.11.2 !pip install scipy==0.18.1 !pip install pillow==3.4.2 I started with latest version and that triggered failure after failure. If you are like me, add below changes to their respective files #This is to make tensorflow behave as if it is in v1 File : evaluate.py and ./src/transform.py import tensorflow.compat.v1 as tf tf.disable_v2_behavior() #Image functions are removed from scipy.misc module. so use imageio instead import imageio scipy.misc.imsave(out_path, img) --> imageio.imwrite(out_path, img) img = scipy.misc.imread(src, mode='RGB') --> img = imageio.imread(src, pilmode='RGB') Refer this post on more details on imageio changes Here is the ...

Covid19 - Travel restrictions and Impact on Auto Insurance Industry

This post intended to track impact on Auto Insurance Industry due to Travel restrictions. As of 4/6, All State and America Family insurance companies announced to reduce premiums and return payments already made. ValChoice , a data analytics companies estimating 70% savings by updating your change mode of transport from commute to pleasure driving. Irrespective of whether your Insurance provider transfers any savings in claims to individuals or not, since we arent driving much, it may be a good idea to change policy coverage to state minimum and reduce premium reduction immediately. If things change, you start driving again, Remember, you can always update your policy coverage.

Covid19 mitigation strategy

As anticipated Lock downs aren’t a viable solution for long. Across the worlds, all Govt feel pressure to lift restrictions. Below is a strategy addressing it End Goal : No Active cases of people infected with COVID19 in the community or everyone in the community are Recovered Stage 1 A new infectious virus is identified outside community. No known infection in the community ( Measure : first case reported date) All the travel from outside to the community is restricted ( Measure : data of restrictions) All incoming people are screened for virus infection and quarantined immediately ( Measure : Screening / Testing strategy) Stage 2 : Contact tracing People travel from outside the community, found to be Virus infected later on. Contact tracing begins. All the people in contact with infected persons are quarantined for testing. Contact tracing goes for people of indirect contact and Restrictions put in places where the infected person may have travelled w...