일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- focal loss
- 일기 #다짐
- 강화학습 간단 정리
- cross entoropy
- OPIC 하루전 시작
- dice loss
- OPIC 하루 전
- ollama
- OPIC 시험 전날
- tensorboard html5
- docker 환경 문제
- gpt excel 사용
- 인간종말
- reinforced learning
- AI생성함
- tensorboard 에러
- 엑셀에 ollama
- AI모델
- ImportError: cannot import name 'Mapping' from 'collections' tensrorbaord
- OPIC 번개
- OPIC 오늘 시작
- OPIC 당일치기
- whisper jax
- ImportError: cannot import name 'Mapping' from 'collections'
- tesorboard
- 공개키 docker
- tersorboard mapping
- 빅데이터 분석기사 #빅분기실기 #데이터마님 # 빅분기실기준비
- 음성전처리 #음성처리 #python 음성추출 # python 음성 추출 #moviepy
- DDPG
- Today
- Total
목록공부/코드관련 (4)
Moonie

pytroch 2.x 버전을 사용하며 tensorboard를 사용하던 도중 ImportError: cannot import name 'Mapping' from 'collections' 에러를 만나게 되었다. 해당 에러는 다행이도 tensorflow 의 tensorboard issue에 질문이 있었다. https://github.com/tensorflow/tensorboard/issues/5478 "ImportError: cannot import name 'Mapping' from 'collections'" with Python 3.10 · Issue #5478 · tensorflow/tensorboard Environment information (required) Diagnostics output --..
Whisper는 open ai에서 만든 STT(Speech To Text)이다 jax는 numpy연산을 빠르게 해주는 라이브러리 이다 whisper jax는 말 그대로 whisper +jax 이며 음성 처리시 numpy 연산을 jax를 이용하여 더 빠르게 처리해준다. 사용한 whisper jax 는 다음 github를 참조하였다. https://github.com/sanchit-gandhi/whisper-jax GitHub - sanchit-gandhi/whisper-jax: JAX implementation of OpenAI's Whisper model for up to 70x speed-up on TPU. JAX implementation of OpenAI's Whisper model for up t..
import os import moviepy.editor as mp path_dir = "데이터 폴더 경로" dst_dir = "대상 폴더 경로" for (root, directories, files) in os.walk(path_dir): for d in directories: d_path = os.path.join(root, d) print(d_path) for file in files: file_path = os.path.join(root, file) # path_dir경로/파일 print(file_path) wave_name = dst_dir + file.strip(".mp4") + (".mp3") # 대상경로+ 파일 명에서 확장자 바꾸기 print(wave_name) dst_file_path =..
YOLO 를 학습시키기 위해서는 txt 파일로 라벨리이 저장되어 내가 원하는 클래스만 남기고 삭제하기위하여 직접 코드를 만들고자 한다. if i.strartswish를 사용하는데 startsiwhs는 대소문자를 구분하고 인자값에 있는 문자열이 string에 있으면 true, 없으면 false를 반환한다. 아래 코드의 경우 4 가있으면 true를 반환하여 4가 있으면 저장한다. with open("intput.txt", 'r') as infile: data = infile.readlines() with open("./Path_to_txt", 'w') as outfile: for i in data: if i.startswith("4"): outfile.write(i) import os path = '/lab..