Générer le code LaTeX/chemfig d'une réaction chimique avec Zyme

Posted on Sun 02 October 2022 in chemie • Tagged with chemie, python, latex

Durant les trois années de licence bioinformatique, nous avons des cours de biochimie, et ceux ci viennent avec leur lots de structure chimiques à connaître.

En L1, j'avais réalisé un document pdf avec LaTeX/chemfig des acides aminées protéinogènes en représentation de FISCHER, et j'avais trouvé ça plutôt sympa, bien …


Continue reading

Faire tourner Stable Diffusion sur Google Colab

Posted on Sat 01 October 2022 in art • Tagged with ia, machine learning, python, notebook

Introduction

Stable Diffusion est un modèle de deep learning permettant de générer des images photoréalistes à partir d'un prompt texte

J'ai récemment découver ce modèle via lexica.art, après avoir entendu parler des concurents DALL-E, Imagen et consorts.

Stable Diffusion a l'avantage d'être open source: tout le monde peut l'utiliser …


Continue reading

How to use virtual environments

Posted on Sun 19 June 2022 in code • Tagged with python, R, julia

To not interfere with your os configuration and keep your project reproducible, you should use a virtual environment as long as possible.

Virtual environment are a way to isolate your project from the rest of the system, and to avoid dependencies conflicts.

Python Virtualenv

Lets start by installing the virtualenv …


Continue reading

Compute the inverse of a matrix

Posted on Tue 14 June 2022 in math • Tagged with math, python

I faced recently the issue of computing the inverse of a matrix, when I wrote the Algae library code. I finally found a solution, and here it is.


Continue reading