How to Install and Run CaPTk on Linux

You can download the CaPTk binary file  here .   cd ~/Downloads chmod +x CaPTk_1.9.0_Installer.bin # Specify the installation path with --target mkdir ~/CaPTk ./CaPTk_1.9.0_Installer.bin --target /home/$USER/CaPTk/ # Execute CaPTk GUI or double click CaPTk-1.9.0.bin cd ~/CaPTk/CaPTk/1.9.0 ./CaPTk-1.9.0.bin # Execute CaPTk CLI (Display BraTSPipeline, DeepMedic help information) /home/$USER/CaPTk/CaPTk/1.9.0/CaPTk-1.9.0.bin BraTSPipeline -h /home/$USER/CaPTk/CaPTk/1.9.0/CaPTk-1.9.0.bin DeepMedic -h

How to Install ngrok and configure automatic startup on Ubuntu

I tested ngrok on Ubuntu 22.04 . I referred to  Linux | ngrok documentation 1. SSH Connection Setup ssh-keygen sudo apt-get install openssh-server # for Debian # sudo yum install openssh-server # for RHEL /etc/init.d/ssh start 2. Install and Run Ngrok sudo apt update sudo apt install snapd snap install ngrok ngrok config add-authtoken <your ngrok token> ngrok tcp 22 3. (Option) Allow Only Specific IPs (below is an example) ngrok tcp 22 \ --cidr-allow 110.0.0.0/8 \ --cidr-allow 220.12.0.0/16 \ 4. Start SSHD Automatically at Boot If you are not using Ubuntu, then execute code below. sudo systemctl enable ssh.service 5. Start Ngrok Automatically at Boot You need to indicate the location of the ngrok binary file. - The shell script should include the full path to the ngrok binary (e.g.,  /snap/bin/ngrok ). vi start_ngrok.sh #!/bin/bash /snap/bin/ngrok tcp 22 Make the script executable by running the following command in the terminal and Open the crontab edito

How to set up WiFi on Ubuntu 22.04

0. Before Installation Environment - CPU : Intel - OS : Ubuntu 22.04 amd64 (64bit) 1. If your computer can connect to the internet Ironically, an internet connection is essential to set up WiFi. If there is built-in WiFi, tethering can be connected through Bluetooth in settings. sudo apt-get update && sudo apt-get upgrade -y sudo apt update && sudo apt upgrade -y sudo apt install linux-generic-hwe-22.04 reboot 2. If your computer  cannot connect to the internet If you are in a situation without internet access, or if installation and downloads are slow, then use a USB. The Ubuntu versions on Computer 1 and 2 must be the same. If they are different, then use Docker. Run the command below on a computer  with an internet connection. (Computer 1) # Download *.deb sudo apt-get install --download-only linux-generic-hwe-22.04 -y # /dev/sdb1 : Replace /dev/sdb1 to your USB Drive route cd /dev/sdb1 mkdir my-packages/ sudo cp /var/cache/apt/archives/*.deb /dev/sdb1/my-packag

How to setting PACS add-on on Synology NAS

이미지
 When you download and install PACS from the Package Center, follow these settings. Set the domain name and password. The domain name is localhost (127.0.0.1) or your router's IP. It takes a long time to install PACS. If connected via QuickConnect, you cannot access PACS. If you want to install using Docker, refer to the link below. -  dcm4chee-arc-install © Kirill Kostikov 2019

AttributeError: module 'jax' has no attribute 'tree_multimap'

이미지
Problem AttributeError: module 'jax' has no attribute 'tree_multimap' Solution Use  jax.tree_util.tree_map  or  jax.tree_map  instead of jax.tree_multimap. JAX 0.3.16  - jax.tree_util.tree_multimap() has been removed. It has been deprecated since JAX release 0.3.5, and jax.tree_util.tree_map() is a direct replacement.

pydicom 443: UserWarning: Invalid value for VR UI

  Example C:\Users\user\AppData\Local\slicer.org\Slicer 5.4.0\lib\Python\Lib\site-packages\pydicom\valuerep.py:443: UserWarning: Invalid value for VR UI: 'X.XXX.XXXXXXX.XXXXXX.088888.XXXXXX.XXXXXX.XXXXXX'. Please see <https://dicom.nema.org/medical/dicom/current/output/html/part05.html#table_6.2-1> for allowed values for each VR. The error occurred due to  088888 .  The number for the UID cannot start with 0. It's not a fatal error,  it's just a warning. Below are the note on  UID Encoding Rules . Registration authorities may distribute components with non-significant leading zeroes. The leading zeroes should be ignored when being encoded (i.e.,"00029" would be encoded "29"). To suppress specific warning messages in Python, you can use the warnings module.  import warnings # Ignore specific warnings warnings.filterwarnings("ignore", message="Invalid value for VR UI:*") Reference  -  https://dicom.nema.org/medical

How to Download YouTube Videos in Google Colab : yt-dlp

이미지
By installing yt-dlp , you can download YouTube videos in Google Colab. !pip install yt-dlp !yt-dlp https://www.youtube.com/watch?v=jNQXAC9IVRw -o first_youtube_video After running the above code and refreshing the files, you can see the downloaded video file( webm) . Reference - yt-dlp github :  https://github.com/yt-dlp/yt-dlp