Skip to content

Commit

Permalink
fix: tensorflow 2.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Nov 29, 2024
1 parent df5066e commit ad33f65
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM tensorflow/tensorflow:2.13.0
FROM tensorflow/tensorflow:2.18.0
RUN apt update
RUN apt -y install ffmpeg aria2 wget nano
RUN apt -y install ffmpeg aria2 wget nano git
WORKDIR /inaseg
COPY ./requirements.txt /inaseg/requirements.txt
RUN pip install -r /inaseg/requirements.txt
RUN pip install --force-reinstall git+https://github.com/grqz/yt-dlp.git@ie/bilibili/pi_fallbk
RUN git clone https://github.com/ina-foss/inaSpeechSegmenter.git
RUN cd inaSpeechSegmenter; pip install .
RUN pip3 install -r /inaseg/requirements.txt
RUN pip3 install --force-reinstall git+https://github.com/grqz/yt-dlp.git@ie/bilibili/pi_fallbk
COPY . /inaseg
RUN python /inaseg/biliupinit.py
RUN python3 /inaseg/biliupinit.py
11 changes: 7 additions & 4 deletions Dockerfile-gpu
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM tensorflow/tensorflow:2.13.0-gpu
FROM tensorflow/tensorflow:2.18.0-gpu
RUN apt update
RUN apt -y install ffmpeg aria2 wget nano
RUN apt -y install ffmpeg aria2 wget nano git
WORKDIR /inaseg
COPY ./requirements.txt /inaseg/requirements.txt
RUN pip install -r /inaseg/requirements.txt
RUN git clone https://github.com/ina-foss/inaSpeechSegmenter.git
RUN cd inaSpeechSegmenter; pip install .
RUN pip3 install -r /inaseg/requirements.txt
RUN pip3 install --force-reinstall git+https://github.com/grqz/yt-dlp.git@ie/bilibili/pi_fallbk
COPY . /inaseg
RUN python /inaseg/biliupinit.py
RUN python3 /inaseg/biliupinit.py
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
yt-dlp
inaspeechsegmenter
shazamio
pyyaml
filelock
Expand Down

0 comments on commit ad33f65

Please sign in to comment.