mkdir inhouse_pythonc__packages
cd inhouse_python_c_packages
mkdir inhouse
touch inhouse/inhouse.c
mkdir test
touch test/test.py
touch setup.pyMostly good, I think there are still some non-conform bits but it might just be that my config is stricter.
You could install more plugins like flake8-docstrings pep8-naming flake8-import-order if you want your code to be more standard (but it's not required within XC).
Too many small functions in my opinion, I feel like some of them might not be necessary. For example
def accuracy(predictions, labels):
return float(np.sum(predictions == labels)) / labels.shape[0]NAS installation using an ODROID-HC4 and armbian.
To be able to boot clean Armbian mainline based u-boot / kernel experiences, you need to remove incompatible Petitboot loader that is shipped with the board. From the Petitboot, go for “Exit to shell” and these commands to remove the Petitboot:
# flash_eraseall /dev/mtd0
# flash_eraseall /dev/mtd1
# flash_eraseall /dev/mtd2
# flash_eraseall /dev/mtd3
On arch: set the systemd.unified_cgroup_hierarchy=false kernel parameter.
Cleanup just in case (if needed, might want to be careful if there is a pre-existing installation).
sudo rm -r /var/lib/ipa-data
docker stop ipa-container
docker rm ipa-container
sudo mkdir /var/lib/ipa-data