#AttributeError: 'Namespace' object has no attribute 'normalization_mode'

1 messages · Page 1 of 1 (latest)

prisma geyser
bright anchor
prisma geyser
#

Idk why it does that

bright anchor
#

new update, lemme fix that

prisma geyser
bright anchor
#

ugh...

#

the default environment on colab is 3.12, we've never updated to that

prisma geyser
#

oh

bright anchor
#

but it is a different issue

#

change the preprocess dataset cell to ```# @title Preprocess Dataset

dataset_path = "/content/drive/MyDrive/Darwin_Dataset" # @param {type:"string"}

cut_preprocess = "Automatic" # @param ["Skip","Simple","Automatic"]
chunk_len = 3 # @param {type:"slider", min:0.5, max:5.0, step:0.5}
overlap_len = 0.3 # @param {type:"slider", min:0, max:0.5, step:0.1}
process_effects = False # @param{type:"boolean"}
noise_reduction = False # @param{type:"boolean"}
noise_reduction_strength = 0.7 # @param {type:"slider", min:0.0, max:1.0, step:0.1}
norm_mode = "none" # @param ["none", "pre", "post"]

%cd /content/Applio
!python core.py preprocess --model_name "{model_name}" --dataset_path "{dataset_path}" --sample_rate "{sr}" --cpu_cores "{cpu_cores}" --cut_preprocess "{cut_preprocess}" --process_effects "{process_effects}" --noise_reduction "{noise_reduction}" --noise_reduction_strength "{noise_reduction_strength}" --chunk_len "{chunk_len}" --overlap_len "{overlap_len}" --norm_mode "{norm_mode}"```

prisma geyser
#

It doesn't work

bright anchor
#

ok, checking

prisma geyser
#

Ok

prisma geyser
bright anchor
#

it may take time, few other things are broken

prisma geyser
#

Alright

bright anchor
#

open a new noui notebook, go to install cell

#

replace it with ```# @title Setup runtime environment
from multiprocessing import cpu_count
cpu_cores = cpu_count()
post_process = False
LOGS_PATH = "/content/Applio/logs"
BACKUPS_PATH = "/content/drive/MyDrive/ApplioBackup"

%cd /content
!git config --global advice.detachedHead false
!git clone https://github.com/IAHispano/Applio
%cd /content/Applio
!git checkout 8e161d2baffd145782241c8b1779f77d1bf7a06d

Install Python 3.11

!sudo apt-get update -y
!sudo apt-get install -y python3.11 python3.11-distutils python3.11-venv
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2
!sudo update-alternatives --set python3 /usr/bin/python3.11
!python3 --version

install uv

!curl -LsSf https://astral.sh/uv/install.sh | sh

print("Installing requirements...")

install requirements

!uv pip install -q torch==2.7.1 torchvision torchaudio==2.7.1 --upgrade --index-url https://download.pytorch.org/whl/cu128
!uv pip install -q -r requirements.txt
!uv pip install -q jupyter-ui-poll
!python core.py "prerequisites" --models "True" --pretraineds_hifigan "True"
print("Finished installing requirements!")```

prisma geyser
#

It works

bright anchor
#

okay, try other things and let me know

#

I'll push the update then