v21 town07 1 https://youtu.be/HVO8qTA5eO0
CAL afordancje https://youtu.be/QGxfD9Vap2U
CAL nieudany skręt w lewo https://youtu.be/CjVxjjwXIo0
CAL zatrzymanie przez syg
v21 town07 1 https://youtu.be/HVO8qTA5eO0
CAL afordancje https://youtu.be/QGxfD9Vap2U
CAL nieudany skręt w lewo https://youtu.be/CjVxjjwXIo0
CAL zatrzymanie przez syg
# task_a.py | |
import re | |
def is_valid_identity_number(number: str) -> bool: | |
return re.search("^[A-Z]{3}[0-9]{6}$", number) | |
# task_b.py | |
# Bad code example (no switch statement in Python) |
def multilabel_precision(y_pred: Tensor, y_true: Tensor, thresh: float = 0.2) -> Rank0Tensor: | |
# Source: https://github.com/fastai/fastai/blob/master/fastai/metrics.py#L13 | |
# Sigmoid is used for multi-label classification, softmax for single-label | |
y_pred = y_pred.sigmoid() | |
# Cherry-pick highest activations from predictions | |
y_pred = (y_pred > thresh).float() | |
y_true = y_true.float() | |
# Calculate num of true positives for each class |
from bokeh.plotting import figure, show, output_file, gridplot, save, gridplot | |
from bokeh.layouts import gridplot | |
from bokeh.models import ColumnDataSource | |
from bokeh.plotting import figure | |
from bokeh.io import curdoc | |
import json | |
import pandas as pd |
Log file open, 11/24/18 22:13:36 | |
LogWindows: Failed to load 'aqProf.dll' (GetLastError=126) | |
LogWindows: File 'aqProf.dll' does not exist | |
LogWindows: Failed to load 'VSPerf140.dll' (GetLastError=126) | |
LogWindows: File 'VSPerf140.dll' does not exist | |
LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126) | |
LogWindows: File 'VtuneApi.dll' does not exist | |
LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=126) | |
LogWindows: File 'VtuneApi32e.dll' does not exist | |
LogInit: Display: Running engine for game: DeepDrive |
Install driver with ubuntu-driver autoinstall (or something like that)
# api.py | |
from jsonrpc import dispatcher | |
import subprocess | |
''' | |
This class is a communication standard between Server and Client. | |
Methods specified below are allowed to be executed server-side | |
on client request(RPC - Remote Procedure Call) | |
''' | |
# TODO use methods provided by KernelHive |
# Terminal #1: | |
iperf -s | |
# Terminal #2 | |
iperf -c localhost | |
# Terminal #3 | |
# nowy sztuczny lancuch | |
sudo iptables --new-chain MM_FORWARD |