Albert

Results 56 comments of Albert

sudo apt-get update && sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel sudo apt-get install raspberrypi-kernel-headers reboot

hi! following steps above i removed protobuf installed with apt-get install. Then i built it (protobuf) from source. After that i tried to install onnx but got error: ``` pi@raspberrypi:~/onnx...

> It seems like an issue in Python. What's your Python version? The latest main branch of ONNX is guaranteed to support Python 3.7-3.10. IIUC, f-strings in Python was introduced...

ok. solved. that was a setuptools issue. the last command should be: ```python3 -m pip install``` not: ```pip install -e .``` moreover i installed pybind11: ```pip install "pybind11[global]"``` and finally...

this error from Bregman lib that doesnt work with lastest numpy. try to install from here for python3 https://github.com/pkmital/BregmanToolkit Then change in features_base.py: num_frames = 1000 #len(self.x) try this code...

To fix the issue with python2 - https://github.com/BinRoot/BregmanToolkit/pull/1/commits/f7b924b8a4e67ae5ceac3d1285acf35f4395112d

import tensorflow as tf import numpy as np from bregman.suite import * import os path=r'./audio_dataset/' os.chdir(path) print(os.getcwd()) k = 2 max_iterations = 100 filenames = tf.train.match_filenames_once('*.wav') count_num_files = tf.size(filenames) #print(count_num_files)...

no need to downgrade numpy. The code looks like: ` import tensorflow as tf #Обход директории для просмотра данных import os path=r'./audio_dataset/' os.chdir(path) print(os.getcwd()) filenames = tf.train.match_filenames_once('*.wav') count_num_files = tf.size(filenames)...

to use your system python just change in Windows PATH priority of pythons. First, should go your system python, i.e. c:\python, second, paths of pyenv: C:\Users\Al\.pyenv\pyenv-win\bin; C:\Users\Al\.pyenv\pyenv-win\shims; After that you...

just download manually python you want (take path from cmd with pyenv), put it on cache: for example: C:\Users\Al\.pyenv\pyenv-win\install_cache than try again in cmd: pyenv install