Saturday, March 28, 2020

DeepFake Test!




I used code from https://github.com/AliaksandrSiarohin/first-order-model to do this. Deepfake technology is here. Whether that is good or bad. I did test the fashion weights as well. I can see there are several applications possible with this... It took me an hour or two to get everything working. It's astounding where we are today.

Monday, March 23, 2020

Recording Screen in Ubuntu


Ubuntu Screenshots
"printscreen" button. It saves to picture folder by default
https://askubuntu.com/questions/346864/how-do-i-take-a-screenshot


Recording Desktop
(1) If you want to record without downloading anything on ubuntu:
https://tipsonubuntu.com/2018/06/09/record-gnome-desktop-ubuntu-18-04/

(2) Another good screen casting software (open source) and works effectively while playing games - is OBS. https://obsproject.com/download) is made for game streamers and lets you manage multiple video streams simultaneously.

Setting up Linux computer for ML (cuda drivers)

As I've setup several desktop computers with ubuntu for on-prem ML, sometimes installing certain nvidia drivers on ubuntu can cause the graphics driver to throw an error while booting and then will give you a black screen. Here's a setup of commands to fix it:

1. Reboot machine and go to recovery mode using grub (Advanced Ubuntu)
    a. Enable Networking
    b. Drop to Root
2. sudo nvidia-uninstall #To remove all  remaining nvidia drivers, to ensure clean install
3. sudo add-apt-repository ppa:graphics-drivers/ppa
4. sudo apt-get update
5. sudo apt install nvidia-418 #Could try a newer one, but this was the most recent driver that worked for ML for me on my 2080Ti card
6. Reboot - this should've fixed it.
7. nvidia-smi #will show you if cuda and gpu driver version