-
Change keyboard layout:
loadkeys no
-
Verify boot mode:
ls /sys/firmware/efi/efivars(If the directory exist your computer supports EFI)
-
Ping some site on the Internet to verify connection:
ping archlinux.org
| import numpy as np | |
| import keras.backend as K | |
| import tensorflow as tf | |
| def metrics_np(y_true, y_pred, metric_name, metric_type='standard', drop_last = True, mean_per_class=False, verbose=False): | |
| """ | |
| Compute mean metrics of two segmentation masks, via numpy. | |
| IoU(A,B) = |A & B| / (| A U B|) | |
| Dice(A,B) = 2*|A & B| / (|A| + |B|) |