AI/Deep Learning3 audio classification audio Preprocess sample_rate : 16000 -> 16kHz Please note that we use 16kHz audios for training and test (for all AudioSet, SpeechCommands, and ESC-50), so if you want to use the pretrained model, please prepare your data in 16kHz. ( AST:Audio Spectrogram Transformer) https://github.com/YuanGongND/ast GitHub - YuanGongND/ast: Code for the Interspeech 2021 paper "AST: Audio Spectrogram Transforme.. 2023. 2. 23. 23 / 01/ 31 AttributeError: '_MultiProcessingDataLoaderIter' object has no attribute 'next' ERROR 해결 해결 방법 https://stackoverflow.com/questions/74289077/attributeerror-multiprocessingdataloaderiter-object-has-no-attribute-next AttributeError: '_MultiProcessingDataLoaderIter' object has no attribute 'next' I am trying to load the dataset using Torch Dataset and DataLoader, but I got the following error: AttributeError: '_MultiProcessingDataLoaderIter' object has no attribute 'next' the code I use.. 2023. 1. 31. 23 / 01 / 30 pytorch 신경망 코딩 순서 라이브러리 호출 cpu, gpu 장치 확인 데이터셋 가져오기 데이터로더에 전달 클래스 정의 심층 신경망 모델 생성 파라미터 정의(learning late, loss function, optimizer) 심층 신경망 이용한 모델 학습 import torch.nn nn.Linear : 선형 변환모듈 들어오는 입력데이터를 선형변환한다. in_features : 입력데이터 크기 out_features : 출력데이터 크기 bias : default는 true , false 설정시 학습시 레이어가 bias 학습 안함. 2023. 1. 30. 이전 1 다음