Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve MAC users' issue + split the doc #23

Merged
merged 5 commits into from
Oct 27, 2021

Conversation

MarvinLvn
Copy link
Collaborator

In response to git issue #21

Hi Okko,

I've tried to remove all dependencies of pyannote.metrics. If you could try to reinstall ALICE from scratch to check that the fix is working, it'd be great !

Since the last update, the vtc got some modifications :

  • memory usage should be better
  • if .wav files are not sampled at 16 kHZ, we don't process them (I won't promise I won't change my mind in the future, but for now I feel like this is the safest approach)

Consequently, I downsampled your demo file ROS_5271_20_01_03600_snippet_mono.wav and ALICE's output changed a bit : we lost 3 phonemes, 2 syllables and 1 word.
Also this might be due to how I downsampled the file, I ran :

sox ROS_5271_20_01_03600_snippet_mono.wav -r 16000 ROS_5271_20_01_03600_snippet_mono_16000.wav

I also tried to split the doc to improve overall attractiveness of the repo (I made something similar than the vtc), hope you like it.

@MarvinLvn
Copy link
Collaborator Author

Oh I forgot : I did install ALICE from scratch.
pyannote.metrics is not installed anymore, and the code runs fine on my machine.

@orasanen
Copy link
Owner

orasanen commented Oct 15, 2021

Hi, Thanks for the efforts!

However, after cloning this branch + installing conda env from scratch, I'm still getting this:

Creating config for pyannote.
Done creating config for pyannote.
Test set: 0it [00:00, ?it/s]/Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/voice-type-classifier/apply.sh: line 141: 49810 Segmentation fault: 11  pyannote-audio mlt apply --$DEVICE --batch=$BATCH --subset=test --parallel=8 $VAL_DIR ${bn}_protocol.SpeakerDiarization.All
Something went wrong when applying the model
Aborting.

The list of pip packages seems fine though:

Package                 Version                     
----------------------- ----------------------------
absl-py                 0.8.1                       
alembic                 1.3.3                       
astor                   0.8.0                       
audioread               2.1.8                       
cachetools              4.2.4                       
certifi                 2019.11.28                  
cffi                    1.13.2                      
charset-normalizer      2.0.7                       
cliff                   2.18.0                      
cmaes                   0.8.2                       
cmd2                    0.8.9                       
colorlog                4.1.0                       
cycler                  0.10.0                      
dataclasses             0.7                         
decorator               4.4.1                       
dlib                    19.19.0                     
docopt                  0.6.2                       
filelock                3.0.12                      
gast                    0.5.2                       
google-auth             2.3.0                       
google-auth-oauthlib    0.4.6                       
google-pasta            0.1.8                       
grpcio                  1.41.0                      
h5py                    2.10.0                      
idna                    3.3                         
joblib                  0.14.1                      
Keras-Applications      1.0.8                       
Keras-Preprocessing     1.1.0                       
kiwisolver              1.1.0                       
librosa                 0.7.2                       
llvmlite                0.31.0                      
Mako                    1.1.1                       
Markdown                3.1.1                       
MarkupSafe              1.1.1                       
matplotlib              3.1.2                       
mpmath                  1.1.0                       
munkres                 1.1.2                       
networkx                2.4                         
numba                   0.48.0                      
numpy                   1.17.5                      
oauthlib                3.1.1                       
opt-einsum              0+untagged.49.gdbede45.dirty
optuna                  2.10.0                      
packaging               21.0                        
pandas                  1.1.5                       
pbr                     5.4.4                       
pescador                2.1.0                       
Pillow                  8.3.2                       
pip                     20.0.2                      
prettytable             0.7.2                       
protobuf                3.11.2                      
pyannote.audio          0+unknown                   
pyannote.core           3.7.1                       
pyannote.database       3.0.1                       
pyannote.pipeline       1.5                         
pyasn1                  0.4.8                       
pyasn1-modules          0.2.8                       
pycparser               2.19                        
pyparsing               2.4.6                       
pyperclip               1.7.0                       
python-dateutil         2.8.1                       
python-editor           1.0.4                       
python-speech-features  0.6                         
pytz                    2019.3                      
PyYAML                  6.0                         
pyzmq                   22.3.0                      
requests                2.26.0                      
requests-oauthlib       1.3.0                       
resampy                 0.2.2                       
rsa                     4.7.2                       
scikit-learn            0.24.2                      
scipy                   1.4.1                       
setuptools              45.1.0.post20200119         
simplejson              3.17.0                      
six                     1.14.0                      
sortedcollections       2.1.0                       
sortedcontainers        2.4.0                       
SoundFile               0.10.3.post1                
SQLAlchemy              1.3.13                      
stevedore               1.31.0                      
sympy                   1.5.1                       
tabulate                0.8.6                       
tensorboard             2.7.0                       
tensorboard-data-server 0.6.1                       
tensorboard-plugin-wit  1.8.0                       
tensorboardX            2.0                         
tensorflow              1.10.1                      
termcolor               1.1.0                       
threadpoolctl           3.0.0                       
torch                   1.4.0                       
tqdm                    4.62.3                      
typing                  3.7.4.1                     
typing-extensions       3.10.0.2                    
urllib3                 1.26.7                      
wcwidth                 0.1.8                       
webencodings            0.5.1                       
Werkzeug                0.16.1                      
wheel                   0.34.1                      
wrapt                   1.11.2                      
xarray                  0.11.0 

@MarvinLvn
Copy link
Collaborator Author

Arg, we at least know the problem doesn't exclusively come from pyannote.metrics.
Have you tried the first ideas I had there #21 ? I mean :

  1. Does python -c "import dlib" throw an error ?
    See pyannote.audio 1.0.1 require torch==0.4, caused segment fault pyannote/pyannote-audio#142

  2. Does uninstalling/installing matplotlib solve the issue ?
    See this stackoverflow post
    That seems very unlikely, but authors of this post are facing a very similar situation : their code used to work, but after an upgrade, a 'Segmentation Fault 11' is thrown

@orasanen
Copy link
Owner

Thanks, sorry I missed those somhow.

  1. python -c "import dlib" does not throw an error.
  2. no effect of matplotlib (after uninstalling and/or after reinstalling)

I also checked that $DEVICE is cpu, as it should. Also tried with different --parallel arguments and batch sizes. No positive effect.

@orasanen
Copy link
Owner

Just to update. I tried to check if there's something strange with the new MacOS shell (zsh vs. bash), permissions etc., but I can't find anything in particular. I've been checking through the variables going to apply.sh , the protocol file that gets created in apply.sh etc., but I can't spot anything out of ordinary. Call for pyannote-audio seems fine, but something inside is broken.

@orasanen
Copy link
Owner

My colleage using Ubuntu 20.04.3 LTS confirmed that this branch installs and runs ok. So it really seems to be something MacOS 11.6 specific at the moment. Duh.

@MarvinLvn
Copy link
Collaborator Author

So annoying :/ I'm afraid at this point we need to know which line of the code throws the Segmentation fault error :/

@orasanen
Copy link
Owner

Right. If I understood right, that's happening inside a compiled pyannote binary?

@orasanen
Copy link
Owner

orasanen commented Oct 25, 2021

I can now confirm that the same error in pyannote-audio apply also happens on High Sierra (MacOS 10.13.6), for which there was previously no problem with this (it's basically the same OS configuration that was used to develop ALICE in the first place).

I wonder if this relates to some peculiarity in Mac's way of handling absolute/relative paths (not sure what this could be) that has some link to some change in pyannote-audio during this year. Another thing I can think of is some problem in file read/write permissions.

@orasanen
Copy link
Owner

orasanen commented Oct 25, 2021

Ok, some more info on this. Uninstalling dlib from the conda env and running apply.sh leads to the same error. I also tested older versions of dlib, as installed using pip: still the same error.
Then I removed all dlib versions from the env, and installed dlib globally using homebrew. Again, the same error. I wonder if this is some error with MacOS and pyannote not finding dlib properly? I would expect the error to change if there is no dlib installation at all, and it's not dlib dependent, right?

@orasanen
Copy link
Owner

Yet some extra info: if I just install the newest voice-type-classifier separately, that works on the same data no problem. @MarvinLvn : Do you think that the newest version is considerably different from the old one in terms of output characteristics, i.e., can we switch over to using that one? ALICE has been tuned with the old version (to which ALICE repo points to), including automatic counterbalancing for under/oversegmentation.

@MarvinLvn
Copy link
Collaborator Author

Oh wait, that's strange because, in this pull request, the git submodule pointing to the voice-type-classifier repo is already supposed to be the newest.

If, as you said, the code is working with the newest voice-type-classifier, then, accepting this PR should be enough.
We can check that by doing the following :

# Clone repo
git clone https://github.com/orasanen/ALICE.git
cd ALICE

# Switch to the pull request
git pull origin pull/23/head

# Update submodule
git submodule update --init --recursive

# Then create conda env
conda env create -f ALICE.yml

# Try it
./run_ALICE.sh demo/ROS_5271_20_01_03600_snippet_mono.wav

I should have realized that when switching to the pull request, submodules are not automatically updated.

To check that the voice-type-classifier is indeed the newest version, you can do :

cd voice-type-classifier
git log

Latest commit should be from Oct. 14th saying something like Update pyannote-audio submodule

@orasanen
Copy link
Owner

Following your instructions precisely from scratch, I again get the same error with apply.sh

As for git log, this is the most recent entry:

(ALICE) rasaneno@wks-86206-mac voice-type-classifier % git log
commit e443d8cfc40f7076eea903958d9344d4aa427cc2 (HEAD, origin/new_model, origin/HEAD, new_model)
Author: MarvinLvn marvinlavechin@gmail.com
Date: Thu Oct 14 18:48:45 2021 +0200

Update pyannote-audio submodule

So, with ALICE.yml it doesn't work, with vtc.yml it does. If I run ./run_ALICE.sh demo/ROS_5271_20_01_03600_snippet_mono.wav using "pyannote" env from the vtc.yml, the diarization process runs fine but then SylNet fails for obvious reasons.

@orasanen
Copy link
Owner

orasanen commented Oct 25, 2021

Ok, I figured a way to fix this.

  1. I installed newest voice-type-classifier following the instructions at https://github.com/MarvinLvn/voice-type-classifier/ BUT changing Python version to 3.6.7 in vtc.yml.
  2. still using pyannote conda env, I then installed tf1 with conda install tensorflow==1.10.0 (to support SylNet)
  3. I then installed tensorboard >=2.0.0 (as required by pyannote-audio to run)

After that, ALICE runs and produces the correct demo script output!

Converting this to an env file .yml and correcting for the pyannote installation, this is the resulting environment file with which ALICE runs on both of my MacOS versions:

(pyannote) rasaneno@wks-86206-mac ALICE % more ALICE2.yml 
name: ALICE
channels:
  - conda-forge
  - defaults
dependencies:
  - _tflow_select=2.2.0=eigen
  - astor=0.8.1=py36hecd8cb5_0
  - blas=1.0=mkl
  - c-ares=1.17.1=h9ed2024_0
  - ca-certificates=2021.9.30=hecd8cb5_1
  - coverage=5.5=py36h9ed2024_2
  - cython=0.29.24=py36h23ab428_0
  - dataclasses=0.8=pyh4f3eec9_6
  - gast=0.5.2=pyhd3eb1b0_0
  - importlib-metadata=4.8.1=py36hecd8cb5_0
  - intel-openmp=2021.3.0=hecd8cb5_3375
  - libcxx=12.0.1=habf9029_0
  - libffi=3.2.1=hb1e8313_1007
  - libprotobuf=3.17.2=h2842e9f_1
  - libzlib=1.2.11=h9173be1_1013
  - markdown=3.3.4=py36hecd8cb5_0
  - mkl=2019.4=233
  - mkl-service=2.3.0=py36h9ed2024_0
  - mkl_fft=1.3.0=py36ha059aab_0
  - mkl_random=1.1.1=py36h959d312_0
  - ncurses=6.2=h2e338ed_4
  - numpy-base=1.19.2=py36hcfb5961_0
  - openssl=1.1.1l=h9ed2024_0
  - pip=21.1.1=pyhd8ed1ab_0
  - python=3.6.7=h4285619_1008_cpython
  - python_abi=3.6=2_cp36m
  - readline=8.1=h05e3726_0
  - setuptools=58.0.4=py36h79c6626_2
  - six=1.16.0=pyhd3eb1b0_0
  - sqlite=3.36.0=h23a322b_2
  - tensorflow=1.10.0=eigen_py36h0906837_0
  - tensorflow-base=1.10.0=eigen_py36h4f0eeca_0
  - termcolor=1.1.0=py36hecd8cb5_1
  - tk=8.6.11=h5dbffcc_1
  - typing_extensions=3.10.0.2=pyh06a4308_0
  - wheel=0.37.0=pyhd8ed1ab_1
  - xz=5.2.5=haf1e3a3_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.11=h9173be1_1013
  - pip:
    - absl-py==0.15.0
    - alembic==1.7.4
    - appdirs==1.4.4
    - attrs==21.2.0
    - audioread==2.1.9
    - autopage==0.4.0
    - cachetools==4.2.4
    - certifi==2021.10.8
    - cffi==1.15.0
    - charset-normalizer==2.0.7
    - cliff==3.9.0
    - cmaes==0.8.2
    - cmd2==2.2.0
    - colorama==0.4.4
    - colorlog==6.5.0
    - cycler==0.10.0
    - decorator==5.1.0
    - docopt==0.6.2
    - filelock==3.3.1
    - google-auth==2.3.0
    - google-auth-oauthlib==0.4.6
    - greenlet==1.1.2
    - grpcio==1.41.0
    - idna==3.3
    - importlib-resources==5.3.0
    - joblib==1.1.0
    - kiwisolver==1.3.1
    - librosa==0.8.1
    - llvmlite==0.31.0
    - mako==1.1.5
    - markupsafe==2.0.1
    - matplotlib==3.3.4
    - numba==0.48.0
    - numpy==1.19.5
    - oauthlib==3.1.1
    - optuna==2.10.0
    - packaging==21.0
    - pandas==1.1.5
    - pbr==5.6.0
    - pescador==2.1.0
    - pillow==8.4.0
    - pooch==1.5.2
    - prettytable==2.2.1
    - protobuf==3.19.0
    - pyannote-core==3.7.1
    - pyannote-database==3.0.1
    - pyannote-pipeline==1.5
    - pyasn1==0.4.8
    - pyasn1-modules==0.2.8
    - pycparser==2.20
    - pyparsing==3.0.1
    - pyperclip==1.8.2
    - python-dateutil==2.8.2
    - pytz==2021.3
    - pyyaml==6.0
    - pyzmq==22.3.0
    - requests==2.26.0
    - requests-oauthlib==1.3.0
    - resampy==0.2.2
    - rsa==4.7.2
    - scikit-learn==0.24.2
    - scipy==1.5.4
    - simplejson==3.17.5
    - sortedcollections==2.1.0
    - sortedcontainers==2.4.0
    - soundfile==0.10.3.post1
    - sqlalchemy==1.4.26
    - stevedore==3.5.0
    - tensorboard>=2.0.0
    - tensorboard-data-server==0.6.1
    - tensorboard-plugin-wit==1.8.0
    - threadpoolctl==3.0.0
    - torch==1.10.0
    - tqdm==4.62.3
    - urllib3==1.26.7
    - wcwidth==0.2.5
    - werkzeug==2.0.2
    - voice-type-classifier/pyannote-audio/
prefix: /opt/anaconda3/envs/ALICE

Would you @MarvinLvn have time to check this out at some point? If it works, perhaps integrate it to a pull request that has your neat documentation changes? Alternatively, if you prefer so, I can merge this and then add the new .yml on top. In any case, testing this on Linux would be probably useful.

@orasanen
Copy link
Owner

orasanen commented Oct 26, 2021

Apparently the above env does not work on Linux. This one works on Linux

name: ALICE
channels:
  - conda-forge
  - defaults
dependencies:
  - pip=21.1.1
  - python=3.6.7
  - tensorflow=1.10.0
  - pip:
    - cachetools>=2.0.0
    - librosa
    - pandas>=0.18.0
    - pyannote.core==3.7.1
    - pyannote.database==3.0.1
    - pyannote.pipeline==1.5
    - pyYAML>=3.12
    - scikit-learn>=0.20.2
    - sortedcollections>=1.0.1
    - sortedcontainers>=2.0.4
    - soundfile>=0.10.2
    - tqdm>=4.29.1
    - tensorboard>=2.0.0
    - typing_extensions>=3.7.4
    - pescador>=2.1.0
    - Pillow>=6.2.1
    - torch>=1.4.0
    - numba==0.48.0
    - tensorboard>=2.0.0
    - voice-type-classifier/pyannote-audio/

but does not install pyannote-audio correctly on Mac (apply.sh does not find pyannote-audio). I've tried a dozen different things but I can't figure out a way to create one .yml file that would work on both platforms, so I wonder if just having two different OS-specific .yml files is the way to go...

@MarvinLvn
Copy link
Collaborator Author

Hi Okko,

Sorry for not getting back to you earlier and good job for narrowing this down !!!
Couldn't try the env.yml you sent yesterday, it seems it got corrupted during the conversion :

dependencies:
  - _tflow_select=2.2.0=eigen
  - astor=0.8.1=py36hecd8cb5_0

(some weird string suffixes after the version)

Anyway I've noticed that the env.yml contains a lot of dependencies ! The last one you sent is a lot cleaner/smaller and seems the right way to go.

I do confirm that it works on my machine and I'm quite surprised pyannote-audio doesn't get installed on MAC. Has the repo be cloned with git clone --recurse-submodules https://github.com/orasanen/ALICE/

If pyannote-audio hasn't been installed properly, you should have an error message when you create the ALICE conda env, could you send it there ?

@MarvinLvn
Copy link
Collaborator Author

MarvinLvn commented Oct 26, 2021

PS : I've just committed the new ALICE.yml to this pull request (I moved all pyannote-audio dependencies at the end), it does work properly on my machine (Linux env)

@orasanen
Copy link
Owner

orasanen commented Oct 26, 2021

I can confirm that on Mac it doesn't install pyannote cleanly from the latest .yml listed here. There is no error during env creation, but pyannote just cannot be found.

(base) rasaneno@wks-86206-mac ALICE % conda env create -f ALICE_Linux.yml 
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: / Ran pip subprocess with arguments:
['/opt/anaconda3/envs/ALICE/bin/python', '-m', 'pip', 'install', '-U', '-r', '/Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt']
Pip subprocess output:
Processing ./voice-type-classifier/pyannote-audio
Collecting cachetools>=2.0.0
  Using cached cachetools-4.2.4-py3-none-any.whl (10 kB)
Collecting librosa
  Using cached librosa-0.8.1-py3-none-any.whl (203 kB)
Collecting pandas>=0.18.0
  Using cached pandas-1.1.5-cp36-cp36m-macosx_10_9_x86_64.whl (10.2 MB)
Collecting pyYAML>=3.12
  Using cached PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl (189 kB)
Collecting scikit-learn>=0.20.2
  Using cached scikit_learn-0.24.2-cp36-cp36m-macosx_10_13_x86_64.whl (7.2 MB)
Collecting sortedcollections>=1.0.1
  Using cached sortedcollections-2.1.0-py3-none-any.whl (9.5 kB)
Collecting sortedcontainers>=2.0.4
  Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting soundfile>=0.10.2
  Using cached SoundFile-0.10.3.post1-py2.py3.cp26.cp27.cp32.cp33.cp34.cp35.cp36.pp27.pp32.pp33-none-macosx_10_5_x86_64.macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl (613 kB)
Collecting tqdm>=4.29.1
  Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Collecting tensorboard>=2.0.0
  Using cached tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
Requirement already satisfied: typing_extensions>=3.7.4 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from -r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 11)) (3.10.0.2)
Collecting pescador>=2.1.0
  Using cached pescador-2.1.0-py3-none-any.whl
Collecting Pillow>=6.2.1
  Using cached Pillow-8.4.0-cp36-cp36m-macosx_10_10_x86_64.whl (3.0 MB)
Collecting torch>=1.4.0
  Using cached torch-1.10.0-cp36-none-macosx_10_9_x86_64.whl (147.1 MB)
Collecting numba==0.48.0
  Using cached numba-0.48.0-cp36-cp36m-macosx_10_9_x86_64.whl (2.0 MB)
Collecting pyannote.core==3.7.1
  Using cached pyannote.core-3.7.1-py3-none-any.whl (54 kB)
Collecting pyannote.database==3.0.1
  Using cached pyannote.database-3.0.1-py3-none-any.whl (32 kB)
Collecting pyannote.pipeline==1.5
  Using cached pyannote.pipeline-1.5-py3-none-any.whl (24 kB)
Requirement already satisfied: numpy>=1.15 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from numba==0.48.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 15)) (1.19.5)
Collecting llvmlite<0.32.0,>=0.31.0dev0
  Using cached llvmlite-0.31.0-cp36-cp36m-macosx_10_9_x86_64.whl (15.9 MB)
Requirement already satisfied: setuptools in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from numba==0.48.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 15)) (58.0.4)
Requirement already satisfied: dataclasses>=0.7 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from pyannote.core==3.7.1->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 17)) (0.8)
Collecting simplejson>=3.8.1
  Using cached simplejson-3.17.5-cp36-cp36m-macosx_10_9_x86_64.whl (74 kB)
Collecting scipy>=1.1
  Using cached scipy-1.5.4-cp36-cp36m-macosx_10_9_x86_64.whl (28.8 MB)
Collecting matplotlib>=2.0.0
  Using cached matplotlib-3.3.4-cp36-cp36m-macosx_10_9_x86_64.whl (8.5 MB)
Collecting docopt>=0.6.2
  Using cached docopt-0.6.2-py2.py3-none-any.whl
Collecting filelock>=3.0.10
  Using cached filelock-3.3.1-py3-none-any.whl (9.7 kB)
Collecting optuna>=1.2
  Using cached optuna-2.10.0-py3-none-any.whl (308 kB)
Collecting audioread>=2.0.0
  Using cached audioread-2.1.9-py3-none-any.whl
Collecting decorator>=3.0.0
  Using cached decorator-5.1.0-py3-none-any.whl (9.1 kB)
Collecting pooch>=1.0
  Using cached pooch-1.5.2-py3-none-any.whl (57 kB)
Collecting packaging>=20.0
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting joblib>=0.14
  Using cached joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Collecting resampy>=0.2.2
  Using cached resampy-0.2.2-py3-none-any.whl
Collecting python-dateutil>=2.7.3
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2017.2
  Using cached pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting threadpoolctl>=2.0.0
  Using cached threadpoolctl-3.0.0-py3-none-any.whl (14 kB)
Collecting cffi>=1.0
  Using cached cffi-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl (178 kB)
Requirement already satisfied: markdown>=2.6.8 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (3.3.4)
Requirement already satisfied: absl-py>=0.4 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (0.15.0)
Requirement already satisfied: grpcio>=1.24.3 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (1.38.1)
Collecting tensorboard-plugin-wit>=1.6.0
  Using cached tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
Requirement already satisfied: werkzeug>=0.11.15 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (2.0.1)
Requirement already satisfied: protobuf>=3.6.0 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (3.18.0)
Requirement already satisfied: wheel>=0.26 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (0.37.0)
Collecting requests<3,>=2.21.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
  Using cached tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl (3.5 MB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting google-auth<3,>=1.6.3
  Using cached google_auth-2.3.1-py2.py3-none-any.whl (154 kB)
Requirement already satisfied: six>=1.8 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from pescador>=2.1.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 12)) (1.16.0)
Collecting pyzmq>=15.0
  Using cached pyzmq-22.3.0-cp36-cp36m-macosx_10_9_x86_64.whl (1.3 MB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting rsa<5,>=3.1.4
  Using cached rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting pyasn1-modules>=0.2.1
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting requests-oauthlib>=0.7.0
  Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: importlib-metadata in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from markdown>=2.6.8->tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (4.8.1)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl (61 kB)
Collecting cycler>=0.10
  Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
  Using cached pyparsing-3.0.1-py3-none-any.whl (96 kB)
Collecting cliff
  Using cached cliff-3.9.0-py3-none-any.whl (80 kB)
Collecting sqlalchemy>=1.1.0
  Using cached SQLAlchemy-1.4.26-cp36-cp36m-macosx_10_14_x86_64.whl (1.5 MB)
Collecting cmaes>=0.8.2
  Using cached cmaes-0.8.2-py3-none-any.whl (15 kB)
Collecting colorlog
  Using cached colorlog-6.5.0-py2.py3-none-any.whl (11 kB)
Collecting alembic
  Using cached alembic-1.7.4-py3-none-any.whl (209 kB)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting pyasn1<0.5.0,>=0.4.6
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.7-py3-none-any.whl (38 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)
Collecting greenlet!=0.4.17
  Using cached greenlet-1.1.2-cp36-cp36m-macosx_10_14_x86_64.whl (92 kB)
Collecting importlib-resources
  Using cached importlib_resources-5.3.0-py3-none-any.whl (28 kB)
Collecting Mako
  Using cached Mako-1.1.5-py2.py3-none-any.whl (75 kB)
Collecting PrettyTable>=0.7.2
  Using cached prettytable-2.2.1-py3-none-any.whl (23 kB)
Collecting stevedore>=2.0.1
  Using cached stevedore-3.5.0-py3-none-any.whl (49 kB)
Collecting pbr!=2.1.0,>=2.0.0
  Using cached pbr-5.6.0-py2.py3-none-any.whl (111 kB)
Collecting autopage>=0.4.0
  Using cached autopage-0.4.0-py3-none-any.whl (20 kB)
Collecting cmd2>=1.0.0
  Using cached cmd2-2.2.0-py3-none-any.whl (144 kB)
Collecting attrs>=16.3.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting pyperclip>=1.6
  Using cached pyperclip-1.8.2-py3-none-any.whl
Collecting wcwidth>=0.1.7
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting colorama>=0.3.7
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: zipp>=0.5 in /opt/anaconda3/envs/ALICE/lib/python3.6/site-packages (from importlib-metadata->markdown>=2.6.8->tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/condaenv.jbmmmi03.requirements.txt (line 10)) (3.6.0)
Collecting MarkupSafe>=0.9.2
  Using cached MarkupSafe-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl (13 kB)
Building wheels for collected packages: pyannote.audio
  Building wheel for pyannote.audio (setup.py): started
  Building wheel for pyannote.audio (setup.py): finished with status 'done'
  Created wheel for pyannote.audio: filename=pyannote.audio-0+unknown-py3-none-any.whl size=220510 sha256=d7bf558ceecb82a7d4c4d96a9cb998bb335ed2736ba10fdbfd895a659a3a4ee4
  Stored in directory: /Users/rasaneno/Library/Caches/pip/wheels/cc/83/8c/227c55fe76713e0c7c312761902ee923932415b8a8575f3298
Successfully built pyannote.audio
Installing collected packages: wcwidth, urllib3, pytz, python-dateutil, pyperclip, pyparsing, pyasn1, Pillow, pbr, MarkupSafe, kiwisolver, idna, greenlet, cycler, colorama, charset-normalizer, certifi, attrs, stevedore, sqlalchemy, sortedcontainers, simplejson, scipy, rsa, requests, pyYAML, pycparser, pyasn1-modules, PrettyTable, pandas, oauthlib, matplotlib, Mako, llvmlite, importlib-resources, cmd2, cachetools, autopage, tqdm, threadpoolctl, requests-oauthlib, pyannote.core, packaging, numba, joblib, google-auth, colorlog, cmaes, cliff, cffi, appdirs, alembic, tensorboard-plugin-wit, tensorboard-data-server, soundfile, scikit-learn, resampy, pyzmq, pyannote.database, pooch, optuna, google-auth-oauthlib, filelock, docopt, decorator, audioread, torch, tensorboard, sortedcollections, pyannote.pipeline, pescador, librosa, pyannote.audio
  Attempting uninstall: tensorboard
    Found existing installation: tensorboard 1.10.0
    Uninstalling tensorboard-1.10.0:
      Successfully uninstalled tensorboard-1.10.0
Successfully installed Mako-1.1.5 MarkupSafe-2.0.1 Pillow-8.4.0 PrettyTable-2.2.1 alembic-1.7.4 appdirs-1.4.4 attrs-21.2.0 audioread-2.1.9 autopage-0.4.0 cachetools-4.2.4 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.7 cliff-3.9.0 cmaes-0.8.2 cmd2-2.2.0 colorama-0.4.4 colorlog-6.5.0 cycler-0.10.0 decorator-5.1.0 docopt-0.6.2 filelock-3.3.1 google-auth-2.3.1 google-auth-oauthlib-0.4.6 greenlet-1.1.2 idna-3.3 importlib-resources-5.3.0 joblib-1.1.0 kiwisolver-1.3.1 librosa-0.8.1 llvmlite-0.31.0 matplotlib-3.3.4 numba-0.48.0 oauthlib-3.1.1 optuna-2.10.0 packaging-21.0 pandas-1.1.5 pbr-5.6.0 pescador-2.1.0 pooch-1.5.2 pyYAML-6.0 pyannote.audio-0+unknown pyannote.core-3.7.1 pyannote.database-3.0.1 pyannote.pipeline-1.5 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pyparsing-3.0.1 pyperclip-1.8.2 python-dateutil-2.8.2 pytz-2021.3 pyzmq-22.3.0 requests-2.26.0 requests-oauthlib-1.3.0 resampy-0.2.2 rsa-4.7.2 scikit-learn-0.24.2 scipy-1.5.4 simplejson-3.17.5 sortedcollections-2.1.0 sortedcontainers-2.4.0 soundfile-0.10.3.post1 sqlalchemy-1.4.26 stevedore-3.5.0 tensorboard-2.7.0 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.0 threadpoolctl-3.0.0 torch-1.10.0 tqdm-4.62.3 urllib3-1.26.7 wcwidth-0.2.5

done
#
# To activate this environment, use
#
#     $ conda activate ALICE
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) rasaneno@wks-86206-mac ALICE % conda activate ALICE
(ALICE) rasaneno@wks-86206-mac ALICE % ./run_ALICE.sh demo/ROS_5271_20_01_03600_snippet_mono.wav
pyannote-audio can't be found.
Check that you activated your conda environment and than you installed pyannote-audio.

Installing from vtc.yml always works with these steps:
change Python to 3.8 to 3.6.7 in vtc.yml and then:
conda env create -f voice-type-classifier/vtc.yml
conda activate pyannote
conda install -y tensorflow==1.10.0
pip uninstall tensorboard --no-input
pip install tensorboard==2.7.0 --no-input

After which ALICE works just fine. In other words, if I just add tensorflow 1.10.0 and tensorboard 2.7.0 to the vtc.yml, there are no errors during env creation, but it doesnt find pyannote anymore after creating the env. Super annoying. Shall we just have the MacOS and Linux envs separately?

Here's the sequence of things that works on Mac (or the long env spec with the weird extra tags after the versioning above):

(ALICE) rasaneno@wks-86206-mac ALICE % conda env create -f voice-type-classifier/vtc.yml 
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: / Ran pip subprocess with arguments:
['/opt/anaconda3/envs/pyannote/bin/python', '-m', 'pip', 'install', '-U', '-r', '/Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/voice-type-classifier/condaenv.d3audt94.requirements.txt']
Pip subprocess output:
Processing ./pyannote-audio
Collecting cachetools>=2.0.0
  Using cached cachetools-4.2.4-py3-none-any.whl (10 kB)
Collecting librosa
  Using cached librosa-0.8.1-py3-none-any.whl (203 kB)
Collecting pandas>=0.18.0
  Using cached pandas-1.1.5-cp36-cp36m-macosx_10_9_x86_64.whl (10.2 MB)
Collecting pyannote.core==3.7.1
  Using cached pyannote.core-3.7.1-py3-none-any.whl (54 kB)
Collecting pyannote.database==3.0.1
  Using cached pyannote.database-3.0.1-py3-none-any.whl (32 kB)
Collecting pyannote.pipeline==1.5
  Using cached pyannote.pipeline-1.5-py3-none-any.whl (24 kB)
Collecting pyYAML>=3.12
  Using cached PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl (189 kB)
Collecting scikit-learn>=0.20.2
  Using cached scikit_learn-0.24.2-cp36-cp36m-macosx_10_13_x86_64.whl (7.2 MB)
Collecting sortedcollections>=1.0.1
  Using cached sortedcollections-2.1.0-py3-none-any.whl (9.5 kB)
Collecting sortedcontainers>=2.0.4
  Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting soundfile>=0.10.2
  Using cached SoundFile-0.10.3.post1-py2.py3.cp26.cp27.cp32.cp33.cp34.cp35.cp36.pp27.pp32.pp33-none-macosx_10_5_x86_64.macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl (613 kB)
Collecting tqdm>=4.29.1
  Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Collecting tensorboard>=2.0.0
  Using cached tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
Collecting typing_extensions>=3.7.4
  Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting pescador>=2.1.0
  Using cached pescador-2.1.0-py3-none-any.whl
Collecting Pillow>=6.2.1
  Using cached Pillow-8.4.0-cp36-cp36m-macosx_10_10_x86_64.whl (3.0 MB)
Collecting torch>=1.4.0
  Using cached torch-1.10.0-cp36-none-macosx_10_9_x86_64.whl (147.1 MB)
Collecting numba==0.48.0
  Using cached numba-0.48.0-cp36-cp36m-macosx_10_9_x86_64.whl (2.0 MB)
Collecting simplejson>=3.8.1
  Using cached simplejson-3.17.5-cp36-cp36m-macosx_10_9_x86_64.whl (74 kB)
Collecting dataclasses>=0.7
  Using cached dataclasses-0.8-py3-none-any.whl (19 kB)
Collecting numpy>=1.10.4
  Using cached numpy-1.19.5-cp36-cp36m-macosx_10_9_x86_64.whl (15.6 MB)
Collecting matplotlib>=2.0.0
  Using cached matplotlib-3.3.4-cp36-cp36m-macosx_10_9_x86_64.whl (8.5 MB)
Collecting scipy>=1.1
  Using cached scipy-1.5.4-cp36-cp36m-macosx_10_9_x86_64.whl (28.8 MB)
Collecting filelock>=3.0.10
  Using cached filelock-3.3.1-py3-none-any.whl (9.7 kB)
Collecting optuna>=1.2
  Using cached optuna-2.10.0-py3-none-any.whl (308 kB)
Collecting docopt>=0.6.2
  Using cached docopt-0.6.2-py2.py3-none-any.whl
Collecting llvmlite<0.32.0,>=0.31.0dev0
  Using cached llvmlite-0.31.0-cp36-cp36m-macosx_10_9_x86_64.whl (15.9 MB)
Requirement already satisfied: setuptools in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from numba==0.48.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/voice-type-classifier/condaenv.d3audt94.requirements.txt (line 18)) (58.0.4)
Collecting packaging>=20.0
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting pooch>=1.0
  Using cached pooch-1.5.2-py3-none-any.whl (57 kB)
Collecting audioread>=2.0.0
  Using cached audioread-2.1.9-py3-none-any.whl
Collecting resampy>=0.2.2
  Using cached resampy-0.2.2-py3-none-any.whl
Collecting decorator>=3.0.0
  Using cached decorator-5.1.0-py3-none-any.whl (9.1 kB)
Collecting joblib>=0.14
  Using cached joblib-1.1.0-py2.py3-none-any.whl (306 kB)
Collecting python-dateutil>=2.7.3
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2017.2
  Using cached pytz-2021.3-py2.py3-none-any.whl (503 kB)
Collecting threadpoolctl>=2.0.0
  Using cached threadpoolctl-3.0.0-py3-none-any.whl (14 kB)
Collecting cffi>=1.0
  Using cached cffi-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl (178 kB)
Collecting grpcio>=1.24.3
  Using cached grpcio-1.41.1-cp36-cp36m-macosx_10_10_x86_64.whl (3.9 MB)
Collecting tensorboard-plugin-wit>=1.6.0
  Using cached tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB)
Collecting protobuf>=3.6.0
  Using cached protobuf-3.19.0-cp36-cp36m-macosx_10_9_x86_64.whl (1.0 MB)
Collecting requests<3,>=2.21.0
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting google-auth<3,>=1.6.3
  Using cached google_auth-2.3.1-py2.py3-none-any.whl (154 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting werkzeug>=0.11.15
  Using cached Werkzeug-2.0.2-py3-none-any.whl (288 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
  Using cached tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl (3.5 MB)
Collecting markdown>=2.6.8
  Using cached Markdown-3.3.4-py3-none-any.whl (97 kB)
Requirement already satisfied: wheel>=0.26 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard>=2.0.0->-r /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/voice-type-classifier/condaenv.d3audt94.requirements.txt (line 13)) (0.37.0)
Collecting absl-py>=0.4
  Using cached absl_py-0.15.0-py3-none-any.whl (132 kB)
Collecting six>=1.8
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pyzmq>=15.0
  Using cached pyzmq-22.3.0-cp36-cp36m-macosx_10_9_x86_64.whl (1.3 MB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting rsa<5,>=3.1.4
  Using cached rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting pyasn1-modules>=0.2.1
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting requests-oauthlib>=0.7.0
  Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting importlib-metadata
  Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl (61 kB)
Collecting cycler>=0.10
  Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3
  Using cached pyparsing-3.0.1-py3-none-any.whl (96 kB)
Collecting alembic
  Using cached alembic-1.7.4-py3-none-any.whl (209 kB)
Collecting colorlog
  Using cached colorlog-6.5.0-py2.py3-none-any.whl (11 kB)
Collecting cmaes>=0.8.2
  Using cached cmaes-0.8.2-py3-none-any.whl (15 kB)
Collecting sqlalchemy>=1.1.0
  Using cached SQLAlchemy-1.4.26-cp36-cp36m-macosx_10_14_x86_64.whl (1.5 MB)
Collecting cliff
  Using cached cliff-3.9.0-py3-none-any.whl (80 kB)
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting pyasn1<0.5.0,>=0.4.6
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.7-py3-none-any.whl (38 kB)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)
Collecting greenlet!=0.4.17
  Using cached greenlet-1.1.2-cp36-cp36m-macosx_10_14_x86_64.whl (92 kB)
Collecting Mako
  Using cached Mako-1.1.5-py2.py3-none-any.whl (75 kB)
Collecting importlib-resources
  Using cached importlib_resources-5.3.0-py3-none-any.whl (28 kB)
Collecting autopage>=0.4.0
  Using cached autopage-0.4.0-py3-none-any.whl (20 kB)
Collecting cmd2>=1.0.0
  Using cached cmd2-2.2.0-py3-none-any.whl (144 kB)
Collecting pbr!=2.1.0,>=2.0.0
  Using cached pbr-5.6.0-py2.py3-none-any.whl (111 kB)
Collecting PrettyTable>=0.7.2
  Using cached prettytable-2.2.1-py3-none-any.whl (23 kB)
Collecting stevedore>=2.0.1
  Using cached stevedore-3.5.0-py3-none-any.whl (49 kB)
Collecting pyperclip>=1.6
  Using cached pyperclip-1.8.2-py3-none-any.whl
Collecting colorama>=0.3.7
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting wcwidth>=0.1.7
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting attrs>=16.3.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting zipp>=0.5
  Using cached zipp-3.6.0-py3-none-any.whl (5.3 kB)
Collecting MarkupSafe>=0.9.2
  Using cached MarkupSafe-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl (13 kB)
Building wheels for collected packages: pyannote.audio
  Building wheel for pyannote.audio (setup.py): started
  Building wheel for pyannote.audio (setup.py): finished with status 'done'
  Created wheel for pyannote.audio: filename=pyannote.audio-0+unknown-py3-none-any.whl size=220510 sha256=79a85d4d632e0952e065aa52c0d511b2873ec6618cf8435166126ad1f1533aca
  Stored in directory: /Users/rasaneno/Library/Caches/pip/wheels/cc/83/8c/227c55fe76713e0c7c312761902ee923932415b8a8575f3298
Successfully built pyannote.audio
Installing collected packages: zipp, typing-extensions, six, wcwidth, urllib3, pytz, python-dateutil, pyperclip, pyparsing, pyasn1, Pillow, pbr, numpy, MarkupSafe, kiwisolver, importlib-metadata, idna, greenlet, cycler, colorama, charset-normalizer, certifi, attrs, stevedore, sqlalchemy, sortedcontainers, simplejson, scipy, rsa, requests, pyYAML, pycparser, pyasn1-modules, PrettyTable, pandas, oauthlib, matplotlib, Mako, llvmlite, importlib-resources, dataclasses, cmd2, cachetools, autopage, tqdm, threadpoolctl, requests-oauthlib, pyannote.core, packaging, numba, joblib, google-auth, colorlog, cmaes, cliff, cffi, appdirs, alembic, werkzeug, tensorboard-plugin-wit, tensorboard-data-server, soundfile, scikit-learn, resampy, pyzmq, pyannote.database, protobuf, pooch, optuna, markdown, grpcio, google-auth-oauthlib, filelock, docopt, decorator, audioread, absl-py, torch, tensorboard, sortedcollections, pyannote.pipeline, pescador, librosa, pyannote.audio
Successfully installed Mako-1.1.5 MarkupSafe-2.0.1 Pillow-8.4.0 PrettyTable-2.2.1 absl-py-0.15.0 alembic-1.7.4 appdirs-1.4.4 attrs-21.2.0 audioread-2.1.9 autopage-0.4.0 cachetools-4.2.4 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.7 cliff-3.9.0 cmaes-0.8.2 cmd2-2.2.0 colorama-0.4.4 colorlog-6.5.0 cycler-0.10.0 dataclasses-0.8 decorator-5.1.0 docopt-0.6.2 filelock-3.3.1 google-auth-2.3.1 google-auth-oauthlib-0.4.6 greenlet-1.1.2 grpcio-1.41.1 idna-3.3 importlib-metadata-4.8.1 importlib-resources-5.3.0 joblib-1.1.0 kiwisolver-1.3.1 librosa-0.8.1 llvmlite-0.31.0 markdown-3.3.4 matplotlib-3.3.4 numba-0.48.0 numpy-1.19.5 oauthlib-3.1.1 optuna-2.10.0 packaging-21.0 pandas-1.1.5 pbr-5.6.0 pescador-2.1.0 pooch-1.5.2 protobuf-3.19.0 pyYAML-6.0 pyannote.audio-0+unknown pyannote.core-3.7.1 pyannote.database-3.0.1 pyannote.pipeline-1.5 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.20 pyparsing-3.0.1 pyperclip-1.8.2 python-dateutil-2.8.2 pytz-2021.3 pyzmq-22.3.0 requests-2.26.0 requests-oauthlib-1.3.0 resampy-0.2.2 rsa-4.7.2 scikit-learn-0.24.2 scipy-1.5.4 simplejson-3.17.5 six-1.16.0 sortedcollections-2.1.0 sortedcontainers-2.4.0 soundfile-0.10.3.post1 sqlalchemy-1.4.26 stevedore-3.5.0 tensorboard-2.7.0 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.0 threadpoolctl-3.0.0 torch-1.10.0 tqdm-4.62.3 typing-extensions-3.10.0.2 urllib3-1.26.7 wcwidth-0.2.5 werkzeug-2.0.2 zipp-3.6.0

done
#
# To activate this environment, use
#
#     $ conda activate pyannote
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(ALICE) rasaneno@wks-86206-mac ALICE % conda activate pyannote
(pyannote) rasaneno@wks-86206-mac ALICE % conda install -y tensorflow==1.10.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/anaconda3/envs/pyannote

  added / updated specs:
    - tensorflow==1.10.0


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    blas-1.0                   |              mkl           6 KB
    ------------------------------------------------------------
                                           Total:           6 KB

The following NEW packages will be INSTALLED:

  _tflow_select      pkgs/main/osx-64::_tflow_select-2.2.0-eigen
  absl-py            pkgs/main/osx-64::absl-py-0.13.0-py36hecd8cb5_0
  astor              pkgs/main/osx-64::astor-0.8.1-py36hecd8cb5_0
  blas               pkgs/main/osx-64::blas-1.0-mkl
  c-ares             pkgs/main/osx-64::c-ares-1.17.1-h9ed2024_0
  coverage           pkgs/main/osx-64::coverage-5.5-py36h9ed2024_2
  cython             pkgs/main/osx-64::cython-0.29.24-py36h23ab428_0
  dataclasses        pkgs/main/noarch::dataclasses-0.8-pyh4f3eec9_6
  gast               pkgs/main/noarch::gast-0.5.2-pyhd3eb1b0_0
  grpcio             pkgs/main/osx-64::grpcio-1.36.1-py36h97de6d8_1
  importlib-metadata pkgs/main/osx-64::importlib-metadata-4.8.1-py36hecd8cb5_0
  intel-openmp       pkgs/main/osx-64::intel-openmp-2021.3.0-hecd8cb5_3375
  libprotobuf        pkgs/main/osx-64::libprotobuf-3.17.2-h2842e9f_1
  markdown           pkgs/main/osx-64::markdown-3.3.4-py36hecd8cb5_0
  mkl                pkgs/main/osx-64::mkl-2019.4-233
  mkl-service        pkgs/main/osx-64::mkl-service-2.3.0-py36h9ed2024_0
  mkl_fft            pkgs/main/osx-64::mkl_fft-1.3.0-py36ha059aab_0
  mkl_random         pkgs/main/osx-64::mkl_random-1.1.1-py36h959d312_0
  numpy              pkgs/main/osx-64::numpy-1.19.2-py36h456fd55_0
  numpy-base         pkgs/main/osx-64::numpy-base-1.19.2-py36hcfb5961_0
  protobuf           pkgs/main/osx-64::protobuf-3.17.2-py36h23ab428_0
  six                pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_0
  tensorboard        pkgs/main/osx-64::tensorboard-1.10.0-py36hdc36e2c_0
  tensorflow         pkgs/main/osx-64::tensorflow-1.10.0-eigen_py36h0906837_0
  tensorflow-base    pkgs/main/osx-64::tensorflow-base-1.10.0-eigen_py36h4f0eeca_0
  termcolor          pkgs/main/osx-64::termcolor-1.1.0-py36hecd8cb5_1
  typing_extensions  pkgs/main/noarch::typing_extensions-3.10.0.2-pyh06a4308_0
  werkzeug           pkgs/main/noarch::werkzeug-2.0.1-pyhd3eb1b0_0
  zipp               pkgs/main/noarch::zipp-3.6.0-pyhd3eb1b0_0

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates    conda-forge::ca-certificates-2021.10.~ --> pkgs/main::ca-certificates-2021.9.30-hecd8cb5_1
  openssl            conda-forge::openssl-1.1.1l-h0d85af4_0 --> pkgs/main::openssl-1.1.1l-h9ed2024_0



Downloading and Extracting Packages
blas-1.0             | 6 KB      | ################################################################################## | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(pyannote) rasaneno@wks-86206-mac ALICE % pip uninstall tensorboard           
Found existing installation: tensorboard 2.7.0
Uninstalling tensorboard-2.7.0:
  Would remove:
    /opt/anaconda3/envs/pyannote/bin/tensorboard
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard-2.7.0.dist-info/*
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/*
  Would not remove (might be manually added):
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/filters/_base.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/ihatexml.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/inputstream.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/sanitizer.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/serializer/__init__.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/serializer/htmlserializer.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/tokenizer.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/treebuilders/_base.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/treewalkers/_base.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/treewalkers/genshistream.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/treewalkers/lxmletree.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/treewalkers/pulldom.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/trie/__init__.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/trie/_base.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/trie/datrie.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/trie/py.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/_vendor/html5lib/utils.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/db.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/__init__.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/beholder.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/beholder_plugin.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/colormaps.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/file_system_tools.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/im_util.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/resources/arrays-missing.png
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/resources/frame-missing.png
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/resources/no-data.png
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/shared_config.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/video_writing.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/beholder/visualizer.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/__init__.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/comm_channel.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/constants.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/debug_graphs_helper.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/debugger_plugin.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/debugger_plugin_loader.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/debugger_server_lib.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/events_writer_manager.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/health_pill_calc.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/interactive_debugger_plugin.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/interactive_debugger_server_lib.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/numerics_alert.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/tensor_helper.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/debugger/tensor_store.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/profile/__init__.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/profile/profile_plugin.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/profile/trace_events_json.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/plugins/profile/trace_events_pb2.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/summary.py
    /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages/tensorboard/util.py
Proceed (y/n)? y
  Successfully uninstalled tensorboard-2.7.0
(pyannote) rasaneno@wks-86206-mac ALICE % pip install tensorboard==2.7.0
Collecting tensorboard==2.7.0
  Using cached tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
Requirement already satisfied: grpcio>=1.24.3 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (1.41.1)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (0.6.1)
Requirement already satisfied: requests<3,>=2.21.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (2.26.0)
Requirement already satisfied: absl-py>=0.4 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (0.15.0)
Requirement already satisfied: google-auth<3,>=1.6.3 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (2.3.1)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (0.4.6)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (1.8.0)
Requirement already satisfied: markdown>=2.6.8 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (3.3.4)
Requirement already satisfied: wheel>=0.26 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (0.37.0)
Requirement already satisfied: werkzeug>=0.11.15 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (2.0.2)
Requirement already satisfied: protobuf>=3.6.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (3.19.0)
Requirement already satisfied: setuptools>=41.0.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (58.0.4)
Requirement already satisfied: numpy>=1.12.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from tensorboard==2.7.0) (1.19.5)
Requirement already satisfied: six in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from absl-py>=0.4->tensorboard==2.7.0) (1.16.0)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from google-auth<3,>=1.6.3->tensorboard==2.7.0) (0.2.8)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from google-auth<3,>=1.6.3->tensorboard==2.7.0) (4.2.4)
Requirement already satisfied: rsa<5,>=3.1.4 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from google-auth<3,>=1.6.3->tensorboard==2.7.0) (4.7.2)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.7.0) (1.3.0)
Requirement already satisfied: importlib-metadata in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from markdown>=2.6.8->tensorboard==2.7.0) (4.8.1)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard==2.7.0) (0.4.8)
Requirement already satisfied: charset-normalizer~=2.0.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from requests<3,>=2.21.0->tensorboard==2.7.0) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from requests<3,>=2.21.0->tensorboard==2.7.0) (2021.10.8)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from requests<3,>=2.21.0->tensorboard==2.7.0) (1.26.7)
Requirement already satisfied: idna<4,>=2.5 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from requests<3,>=2.21.0->tensorboard==2.7.0) (3.3)
Requirement already satisfied: oauthlib>=3.0.0 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard==2.7.0) (3.1.1)
Requirement already satisfied: dataclasses in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from werkzeug>=0.11.15->tensorboard==2.7.0) (0.8)
Requirement already satisfied: typing-extensions>=3.6.4 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from importlib-metadata->markdown>=2.6.8->tensorboard==2.7.0) (3.10.0.2)
Requirement already satisfied: zipp>=0.5 in /opt/anaconda3/envs/pyannote/lib/python3.6/site-packages (from importlib-metadata->markdown>=2.6.8->tensorboard==2.7.0) (3.6.0)
Installing collected packages: tensorboard
  Attempting uninstall: tensorboard
    Found existing installation: tensorboard 1.10.0
    Uninstalling tensorboard-1.10.0:
      Successfully uninstalled tensorboard-1.10.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 1.10.0 requires numpy<=1.14.5,>=1.13.3, but you have numpy 1.19.5 which is incompatible.
tensorflow 1.10.0 requires setuptools<=39.1.0, but you have setuptools 58.0.4 which is incompatible.
tensorflow 1.10.0 requires tensorboard<1.11.0,>=1.10.0, but you have tensorboard 2.7.0 which is incompatible.
Successfully installed tensorboard-2.7.0
(pyannote) rasaneno@wks-86206-mac ALICE % ./run_ALICE.sh demo/ROS_5271_20_01_03600_snippet_mono.wav
Creating config for pyannote.
Done creating config for pyannote.
Test set: 1it [00:04,  4.94s/it]
Test set: 1it [00:00, 29.28it/s]
Test set: 1it [00:00, 28.66it/s]
Test set: 1it [00:00, 28.54it/s]
Test set: 1it [00:00, 28.69it/s]
Test set: 1it [00:00, 29.15it/s]
SylNet completed
ALICE completed. Results written to /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/ALICE_output.txt and /Users/rasaneno/Documents/koodit/dists/ALICE_newdiar/ALICE/diarization_output.rttm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants