Views
No views yet
MLPDOA.pth : 학습된 모델 가중치model.py : 모델 구조 정의doa_infer.py : 추론(inference) 코드pip install torch numpy1from doa_infer import predict
2
3# 4채널 timestamp 입력 (예시)
4timestamps = [0.01, 0.02, 0.00, 0.03]
5
6direction = predict(timestamps)
7
8print(direction) # 예: "FL"[t1, t2, t3, t4]FR, F, FL, L, BL, B, BR, R