I use macOS primarily for work purposes. Those include programming Python, doing machine learning and using corporate apps. This is how to set up a new macOS.
- Remove everything from the dash.
- Make the dash hide automatically.
""" | |
An adaptation of https://stackoverflow.com/a/15783581/60982 | |
Using ideas from https://stackoverflow.com/a/9471601/60982 | |
""" | |
import collections | |
import random | |
import numpy as np | |
import matplotlib |
SteamVR System Report created Fri Apr 08 15:49:16 2022 | |
<Report> | |
SteamVR Version: 1.21.12 (1647034158) | |
SteamVR Date: 2022-03-11 | |
Steam: Public | |
Steam Branch: | |
Steam AppID: 250820 | |
Tracking: lighthouse | |
OS: Linux version 5.13.0-39-generic (buildd@lcy02-amd64-080) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 |
Fatal Python error: Aborted | |
Thread 0x00007fcb243ff700 (most recent call first): | |
<no Python frame> | |
Thread 0x00007fcec2a94740 (most recent call first): | |
File "/home/bengt/Downloads/DFKI/gitlab.ni.dfki.de/VR/VR.Backend/.tox/py38/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 443 in _conv_forward | |
File "/home/bengt/Downloads/DFKI/gitlab.ni.dfki.de/VR/VR.Backend/.tox/py38/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 447 in forward | |
File "/home/bengt/Downloads/DFKI/gitlab.ni.dfki.de/VR/VR.Backend/.tox/py38/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110 in _call_impl | |
File "/home/bengt/Downloads/DFKI/gitlab.ni.dfki.de/VR/VR.Backend/.tox/py38/lib/python3.8/site-packages/torch/nn/modules/container.py", line 141 in forward |
Benutzt:
BenQ BL2410PT
import tensorflow as tf | |
mnist = tf.keras.datasets.mnist | |
(x_train, y_train),(x_test, y_test) = mnist.load_data() | |
x_train, x_test = x_train / 255.0, x_test / 255.0 | |
model = tf.keras.models.Sequential([ | |
tf.keras.layers.Flatten(input_shape=(28, 28)), | |
tf.keras.layers.Dense(128, activation='relu'), | |
tf.keras.layers.Dropout(0.2), |
import os | |
import sys | |
import numpy as np | |
from skimage.io import imread | |
from keras.applications.imagenet_utils import decode_predictions | |
from efficientnet import EfficientNetB0 | |
from efficientnet import center_crop_and_resize, preprocess_input |