📱 TorchCode — a PyTorch training tool for preparing for ML interviews
40 tasks for implementing operators and architectures that are actually asked in interviews. Automatic checking, hints, and reference solutions — all in the browser without installation.
If you're preparing for an ML interview, it's useful to go through at least half of them.
Link: https://github.com/duoan/TorchCode
tags: #useful #pytorch
https://t.me/CodeProgrammer✅
40 tasks for implementing operators and architectures that are actually asked in interviews. Automatic checking, hints, and reference solutions — all in the browser without installation.
If you're preparing for an ML interview, it's useful to go through at least half of them.
Link: https://github.com/duoan/TorchCode
tags: #useful #pytorch
https://t.me/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
SVFR — a full-fledged framework for restoring faces in videos.
It can:
Essentially, the model takes old or damaged videos and makes them "as if they were shot yesterday". And it's free and open-source.
1. Create an environment
conda create -n svfr python=3.9 -y
conda activate svfr
2. Install PyTorch (for your CUDA)
pip install torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2
3. Install dependencies
pip install -r requirements.txt
4. Download models
conda install git-lfs
git lfs install
git clone https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt models/stable-video-diffusion-img2vid-xt
5. Start processing videos
python infer.py \
--config config/infer.yaml \
--task_ids 0 \
--input_path input.mp4 \
--output_dir results/ \
--crop_face_region
Where task_ids:
*
0 — face enhancement*
1 — colorization*
2 — redrawing damageAn ideal tool if:
#python #soft #github
https://t.me/CodeProgrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4