Closed HAGAI123 closed 11 months ago
Hello, paste the following:
! rm -rf NBA-Machine-Learning-Sports-Betting ! rm -rf *
! git clone https://github.com/kyleskom/NBA-Machine-Learning-Sports-Betting.git ! mv -v ./NBA-Machine-Learning-Sports-Betting/* . ! pip3 install colorama ! pip3 install pandas==2.1.0 ! pip3 install sbrscrape ! pip3 install tensorflow==2.11.0 ! pip3 install tensorflow-meta ! pip3 install xgboost ! pip3 install tqdm ! pip3 install flask ! pip3 install scikit-learn
from IPython.display import clear_output clear_output()
print("Successful Bootstrap!!!")
For the Colab option.
Colab is the most updated to use? I downloaded and the zip and runned it localy on my PC. Get different results when run in Colab though.
Google colab seems to have a problem with pandas Higher than 1.5.3
Hi, do anyone have this error on Colab?
ERROR: Could not find a version that satisfies the requirement tensorflow-metal (from versions: none)
ERROR: No matching distribution found for tensorflow-metal
Thanks!
Downloading tensorflow-2.14.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB) ERROR: Could not find a version that satisfies the requirement tensorflow-metal==1.1.0 (from versions: none) ERROR: No matching distribution found for tensorflow-metal==1.1.0
root@mail:/home/NBA-Machine-Learning-Sports-Betting# python3 -V Python 3.11.6
also when i run the main.py its give me
python3 main.py -xgb -odds=fanduel 2023-10-29 11:00:03.317499: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used. 2023-10-29 11:00:04.227845: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered 2023-10-29 11:00:04.229298: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered 2023-10-29 11:00:04.234378: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered 2023-10-29 11:00:05.204923: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used. 2023-10-29 11:00:05.303529: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-10-29 11:00:10.319447: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT Traceback (most recent call last): File "/home/NBA-Machine-Learning-Sports-Betting/main.py", line 6, in
from colorama import Fore, Style
ModuleNotFoundError: No module named 'colorama'