From 544d8a3cd5ba50c7ab599f86545fb8409711ec87 Mon Sep 17 00:00:00 2001 From: Weiqiang Zhu Date: Wed, 27 Nov 2024 00:01:21 -0800 Subject: [PATCH] freeze environment --- docs/README.md | 10 ++- env.yml => env.yaml | 0 env_mac.yaml | 160 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 168 insertions(+), 2 deletions(-) rename env.yml => env.yaml (100%) create mode 100644 env_mac.yaml diff --git a/docs/README.md b/docs/README.md index 29dbe1a..5f2be9e 100755 --- a/docs/README.md +++ b/docs/README.md @@ -10,13 +10,19 @@ cd PhaseNet ``` - Install to default environment ```bash -conda env update -f=env.yml -n base +conda env update -f=env.yaml -n base ``` - Install to "phasenet" virtual envirionment ```bash -conda env create -f env.yml +conda env create -f env.yaml conda activate phasenet ``` +- For Mac ARM chip, please use the env_mac.yaml file +```bash +conda env create -f env_mac.yaml +conda activate phasenet +``` + ## 2. Pre-trained model Located in directory: **model/190703-214543** diff --git a/env.yml b/env.yaml similarity index 100% rename from env.yml rename to env.yaml diff --git a/env_mac.yaml b/env_mac.yaml new file mode 100644 index 0000000..fa5f0be --- /dev/null +++ b/env_mac.yaml @@ -0,0 +1,160 @@ +name: phasenet +channels: + - defaults + - conda-forge +dependencies: + - _tflow_select=2.2.0=eigen + - abseil-cpp=20211102.0=hc377ac9_0 + - absl-py=2.1.0=py310hca03da5_0 + - aiohappyeyeballs=2.4.0=py310hca03da5_0 + - aiohttp=3.10.5=py310h80987f9_0 + - aiosignal=1.2.0=pyhd3eb1b0_0 + - annotated-types=0.6.0=py310hca03da5_0 + - anyio=4.6.2=py310hca03da5_0 + - astunparse=1.6.3=py_0 + - async-timeout=4.0.3=py310hca03da5_0 + - attrs=24.2.0=py310hca03da5_0 + - blas=2.116=openblas + - blas-devel=3.9.0=16_osxarm64_openblas + - blinker=1.6.2=py310hca03da5_0 + - bottleneck=1.4.2=py310hbda83bc_0 + - brotli=1.0.9=h80987f9_8 + - brotli-bin=1.0.9=h80987f9_8 + - brotli-python=1.0.9=py310h313beb8_8 + - bzip2=1.0.8=h80987f9_6 + - c-ares=1.19.1=h80987f9_0 + - ca-certificates=2024.9.24=hca03da5_0 + - cachetools=5.3.3=py310hca03da5_0 + - certifi=2024.8.30=py310hca03da5_0 + - cffi=1.17.1=py310h3eb5a62_0 + - charset-normalizer=3.3.2=pyhd3eb1b0_0 + - click=8.1.7=py310hca03da5_0 + - contourpy=1.3.1=py310h48ca7d4_0 + - cryptography=41.0.3=py310h3c57c4d_0 + - cycler=0.11.0=pyhd3eb1b0_0 + - exceptiongroup=1.2.0=py310hca03da5_0 + - fastapi=0.112.2=py310hca03da5_0 + - flatbuffers=24.3.25=h313beb8_0 + - fonttools=4.51.0=py310h80987f9_0 + - freetype=2.12.1=h1192e45_0 + - frozenlist=1.5.0=py310h80987f9_0 + - gast=0.4.0=pyhd3eb1b0_0 + - giflib=5.2.2=h80987f9_0 + - google-auth=2.29.0=py310hca03da5_0 + - google-auth-oauthlib=0.4.4=pyhd3eb1b0_0 + - google-pasta=0.2.0=pyhd3eb1b0_0 + - grpc-cpp=1.46.1=h8e4afa7_1 + - grpcio=1.42.0=py310h95c9599_0 + - h11=0.14.0=py310hca03da5_0 + - h5py=3.12.1=py310h8456320_0 + - hdf5=1.12.1=h160e8cb_2 + - icu=68.1=hc377ac9_0 + - idna=3.7=py310hca03da5_0 + - joblib=1.4.2=py310hca03da5_0 + - jpeg=9e=h80987f9_3 + - keras=2.11.0=py310hca03da5_0 + - keras-preprocessing=1.1.2=pyhd3eb1b0_0 + - kiwisolver=1.4.4=py310h313beb8_0 + - krb5=1.20.1=h8380606_1 + - lcms2=2.12=hba8e193_0 + - lerc=3.0=hc377ac9_0 + - libblas=3.9.0=16_osxarm64_openblas + - libbrotlicommon=1.0.9=h80987f9_8 + - libbrotlidec=1.0.9=h80987f9_8 + - libbrotlienc=1.0.9=h80987f9_8 + - libcblas=3.9.0=16_osxarm64_openblas + - libcurl=8.2.1=h0f1d93c_0 + - libcxx=14.0.6=h848a8c0_0 + - libdeflate=1.17=h80987f9_1 + - libedit=3.1.20230828=h80987f9_0 + - libev=4.33=h1a28f6b_1 + - libffi=3.4.4=hca03da5_1 + - libgfortran=5.0.0=11_3_0_hca03da5_28 + - libgfortran5=11.3.0=h009349e_28 + - liblapack=3.9.0=16_osxarm64_openblas + - liblapacke=3.9.0=16_osxarm64_openblas + - libnghttp2=1.52.0=h10c0552_1 + - libopenblas=0.3.21=openmp_hc731615_3 + - libpng=1.6.39=h80987f9_0 + - libprotobuf=3.20.3=h514c7bf_0 + - libssh2=1.10.0=h449679c_2 + - libtiff=4.5.1=h313beb8_0 + - libwebp-base=1.3.2=h80987f9_1 + - llvm-openmp=14.0.6=hc6e5704_0 + - lz4-c=1.9.4=h313beb8_1 + - markdown=3.4.1=py310hca03da5_0 + - markupsafe=2.1.3=py310h80987f9_0 + - matplotlib=3.9.2=py310hca03da5_1 + - matplotlib-base=3.9.2=py310h7ef442a_1 + - multidict=6.1.0=py310h80987f9_0 + - ncurses=6.4=h313beb8_0 + - numexpr=2.10.1=py310h5d9532f_0 + - numpy=1.26.4=py310h3b2db8e_0 + - numpy-base=1.26.4=py310ha9811e2_0 + - oauthlib=3.2.2=py310hca03da5_0 + - openblas=0.3.21=openmp_hf78f355_3 + - openjpeg=2.5.2=h54b8e55_0 + - openssl=1.1.1w=h1a28f6b_0 + - opt_einsum=3.3.0=pyhd3eb1b0_1 + - packaging=24.1=py310hca03da5_0 + - pandas=2.2.2=py310h313beb8_0 + - pillow=11.0.0=py310hfaf4e14_0 + - pip=24.2=py310hca03da5_0 + - propcache=0.2.0=py310h80987f9_0 + - protobuf=3.20.3=py310h313beb8_0 + - pyasn1=0.4.8=pyhd3eb1b0_0 + - pyasn1-modules=0.2.8=py_0 + - pycparser=2.21=pyhd3eb1b0_0 + - pydantic=2.8.2=py310hca03da5_0 + - pydantic-core=2.20.1=py310hf0e4da2_0 + - pyjwt=2.9.0=py310hca03da5_0 + - pyopenssl=23.2.0=py310hca03da5_0 + - pyparsing=3.2.0=py310hca03da5_0 + - pysocks=1.7.1=py310hca03da5_0 + - python=3.10.13=hc0d8a6c_0 + - python-dateutil=2.9.0post0=py310hca03da5_2 + - python-flatbuffers=24.3.25=py310hca03da5_0 + - python-tzdata=2023.3=pyhd3eb1b0_0 + - pytz=2024.1=py310hca03da5_0 + - re2=2022.04.01=hc377ac9_0 + - readline=8.2=h1a28f6b_0 + - requests=2.32.3=py310hca03da5_1 + - requests-oauthlib=2.0.0=py310hca03da5_0 + - rsa=4.7.2=pyhd3eb1b0_1 + - scikit-learn=1.5.1=py310h46d7db6_0 + - scipy=1.14.1=py310hd336fd7_0 + - setuptools=75.1.0=py310hca03da5_0 + - six=1.16.0=pyhd3eb1b0_1 + - snappy=1.2.1=h313beb8_0 + - sniffio=1.3.0=py310hca03da5_0 + - sqlite=3.45.3=h80987f9_0 + - starlette=0.38.2=py310hca03da5_0 + - tensorboard=2.11.0=py310hca03da5_0 + - tensorboard-data-server=0.6.1=py310ha6e5c4f_0 + - tensorboard-plugin-wit=1.8.1=py310hca03da5_0 + - tensorflow=2.11.0=eigen_py310h6363ca7_0 + - tensorflow-base=2.11.0=eigen_py310h8747ca9_0 + - tensorflow-estimator=2.11.0=py310hca03da5_0 + - termcolor=2.1.0=py310hca03da5_0 + - threadpoolctl=3.5.0=py310h33ce5c2_0 + - tk=8.6.14=h6ba3021_0 + - tornado=6.4.1=py310h80987f9_0 + - tqdm=4.66.5=py310h33ce5c2_0 + - typing-extensions=4.11.0=py310hca03da5_0 + - typing_extensions=4.11.0=py310hca03da5_0 + - tzdata=2024b=h04d1e81_0 + - unicodedata2=15.1.0=py310h80987f9_0 + - urllib3=2.2.3=py310hca03da5_0 + - uvicorn=0.30.6=py310hca03da5_0 + - werkzeug=3.0.6=py310hca03da5_0 + - wheel=0.35.1=pyhd3eb1b0_0 + - wrapt=1.14.1=py310h1a28f6b_0 + - xz=5.4.6=h80987f9_1 + - yarl=1.18.0=py310h80987f9_0 + - zlib=1.2.13=h18a0788_1 + - zstd=1.5.6=hfb09047_0 + - pip: + - decorator==5.1.1 + - lxml==5.3.0 + - obspy==1.4.1 + - sqlalchemy==1.4.54 \ No newline at end of file