This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling TensorFlow v2.13.0 from source: | |
This is in conjunction with https://www.tensorflow.org/install/source but fills the gaps! | |
Install Bazel 5.3.0 | |
Install the cuda toolkit v11.8 and get rid of any other cuda toolkits. Otherwise TF will find them and create chaos. | |
apt install cuda-toolkit-11-8 | |
Install cudnn 8.7 (TF recommends 8.6 but 8.7 also works well): | |
apt-get install libcudnn8-dev=8.7.0.84-1+cuda11.8 libcudnn8=8.7.0.84-1+cuda11.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the main Application schedule the Worker as a one-off task and then re-schedule the task again: | |
final OneTimeWorkRequest recWorkRequest = | |
new OneTimeWorkRequest.Builder(RecWorker.class) | |
.build(); | |
WorkManager | |
.getInstance(getApplicationContext()) | |
.enqueueUniqueWork(RecWorker.TAG, ExistingWorkPolicy.REPLACE,recWorkRequest); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MPEG4 (AVC) | |
AAC (lav) | |
MP4 container | |
max duration 2:20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -s | |
touch /root/.Xauthority | |
xauth merge /home/pi/.Xauthority |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Sets up the wacom tablet for the left screen only on a dual screen setup. | |
xinput set-prop "Wacom Intuos BT S Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0 0 1 0 0 0 1 |