Logo Samuel Jankovych
  • Home
  • About
  • Publications
  • Talks and Conferences
  • Education
  • Experiences
  • More
    Awards and Grants Skills Projects
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • TBrowser in Docker
  • MFF UK GPULab
  • JIDENN
  • Tips and Tricks
  • Programovanie pre fyzikov
Hero Image
Programovanie pre fyzikov

Vojtova webstránka: ipnp.cz/?page_id=8042&lang=CZ Prezentácia Prezentácia a príklady v Jupyter notebooku: prop_chyb.ipynb Príklady Príklady od Vojtecha k propagácii chýb: uncertainty_propagation_examples.py Skript z minulého cvičenia (iba na import plot funkcie): fits_examples.py Odporúčané predmety Základy programovania Použití počítačů ve fyzice NOFY084 - praktické fyzikálne príkady, vhodné na zlepšenie rutiny programovania (v Pythone), KZ za úlohy Programování a zpracování dat v Pythonu NOFY178 - vyššia úroveň programovania v Pythone (triedy, dekorátory,…), vhodné na zlepšenie dizajnu kódu, KZ za úlohy Strojové učenie (AI) Strojové učení v částicové fyzice NJSF164 - základy hlbokého učenia formou príkladov, vhodné aj pre začiatočnikov strojového učenia, moderné techniky AI, vhodné pre všetkých (nielen časticová fyzika), Zk za úkoly Úvod do strojového učení v Pythonu NPFL129 - strojové učenie, príklady+teória, náročejšie, témy do hĺbky, nie moderné techniky AI (skorej klasické), Zk písomná, Z za úlohy, viac info Hluboké učení NPFL138 - hlboké učenie, príklady+teória, náročné, témy do hĺbky, najmodernejšie techniky AI, Z za úlohy, Zk písomná alebo v prípade splnenia všetkých úloh rovno za 1, viac info Some random link

    Sunday, December 8, 2024 | 1 minute Read
    Hero Image
    Setup MFF UK GPULab

    Prerequisites Get a CAS login. Login to gpulab using CAS login, follow this guide. Charliecloud image Log into a gpu node srun -p gpu-ffa --gpus=1 --time=5:00:00 --pty bash Pull nvidia docker image with Charliecloud ch-image pull tensorflow/tensorflow:latest-gpu Convert the docker image to charliecloud image expressed as a directory ./my-tf ch-convert -i ch-image -o dir tensorflow/tensorflow:latest-gpu ./my-tf Import CUDA libraries ch-fromhost --nvidia ./my-tf Launch the container ch-run -w -c /home/jankovys --bind=/home/jankovys -u 0 -g 0 ./my-tf -- bash The command above will launch the container with working directory /home/jankovys and write access to the container (-w). The --bind=/home/jankovys option will bind the /home/jankovys directory on the host to the /home/jankovys directory in the container. The -u 0 -g 0 options will run the container as root user. The -- at the end of the command tells ch-run that the command to run in the container follows.

      Sunday, September 18, 2022 | 3 minutes Read
      Hero Image
      TBrowser in docker container

      Set up Install Docker Pull the ROOT (rootproject/root:6.26.06-ubuntu22.04) docker image: docker pull rootproject/root:6.26.06-ubuntu22.04 Run the docker image: docker run -p 9200:9200 --rm -d -it -v ~/host/dir:/container/dir --name TBrowser rootproject/root:6.26.06-ubuntu22.04 root -l --web=server:9200 /opt/root/tutorials/v7/browser.cxx -p 9200:9200 maps the port 9200 of the host to the port 9200 of the container --rm removes the container after it exits -d runs the container in the background -it runs the container in interactive mode -v ~/host/dir:/container/dir mounts the host directory ~/host/dir to the container directory /container/dir --name TBrowser names the container TBrowser rootproject/root:latest is the docker image root -l --web=server:9200 /opt/root/tutorials/v7/browser.cxx runs the ROOT TBrowser in the container Open a web browser and go to localhost:9200/win1 to see the TBrowser:

        Sunday, September 18, 2022 | 1 minute Read
        Hero Image
        Tips and Tricks

        Tips and Tricks Git+latexdiff Generate a latexdiff between two commits git latexdiff 0db4b84289f7554810cfdaacf7bafdbab23466b2 -- --main ANA-JETM-2023-07-PUB.tex

          Sunday, September 18, 2022 | 1 minute Read
          Hero Image
          Jet Identification Deep Neural Network

          Introduction This is a deep neural network for jet identification. Data Architecture

            Friday, September 16, 2022 | 1 minute Read
            Hero Image

            Arch Linux Installation Download the ISO image Download the latest Arch Linux ISO from here. Create empty disk image Create the empty file with filled zeros of size 64GB: dd if=/dev/zero of=bios.img bs=2G count=32 Boot the ISO image Make sure to have the OVMF package installed: pacman -S ovmf This package contains the UEFI firmware for QEMU. Copy the UEFI firmware to the current directory: cp /usr/share/edk2/x64/OVMF_VARS.fd . Boot the ISO image with QEMU:

              Monday, January 1, 1 | 7 minutes Read
              Navigation
              • About
              • Publications
              • Talks and Conferences
              • Education
              • Experiences
              • Awards and Grants
              • Skills
              • Projects
              Contact me:
              • samueljankovych@gmail.com
              • jansam123
              • +421950442667