G2Net Basic audio data augmentation inference
01bbf1f2e5254c9998dc3e291afc2043 Copied From Medium Click here to Read More On Medium! Subscribe to ONEPAGECODE Newsletter. COLAB = False if COLAB == True : from google.colab import drive drive.mount( '/content/drive' ) % cd '/content/drive/MyDrive/Colab Notebooks/kaggle/G2Net2022/code' ! pip3 install timm - q WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv import numpy as np import pandas as pd import matplotlib.pyplot as plt import time import h5py import timm import torch import torch.nn as nn import torchaudio import torchvision.transforms as TF from tqdm.auto import tqdm from sklearn.model_selection import KFold from sklearn.metrics import roc_auc_score from timm.scheduler import CosineLRS...