목록2024/09 (12)
UOMOP
Data loaded from files. dim:512, snr:40 Lv1:567, Lv2:6503, Lv3:2696, Lv4:234 final FLOPs : 28429.01 Average PSNR over 10000 images: 27.57 Data loaded from files. dim:512, snr:30 Lv1:643, Lv2:6262, Lv3:2871, Lv4:224 final FLOPs : 28393.56 Average PSNR over 10000 images: 27.16 Data loaded from files. dim:512, snr:20 Lv1:758, Lv2:5598, Lv3:3177, Lv4:467 final FLOPs : 28086.48 Average PSNR over 1000..
DIM:512 SNR(40dB) : (Avg):28.0510 (Lv1):25.6570 (Lv2):28.9350 (Lv3):29.2920 (Lv4):28.2910 DIM:512 SNR(30dB) : (Avg):27.5855 (Lv1):25.5720 (Lv2):28.2810 (Lv3):28.6690 (Lv4):27.7840 DIM:512 SNR(20dB) : (Avg):26.1490 (Lv1):24.7250 (Lv2):26.5860 (Lv3):26.9420 (Lv4):26.3160 DIM:512 SNR(10dB) : (Avg):23.2425 (Lv1):22.8580 (Lv2):23.1440 (Lv3):23.5630 (Lv4):23.3360 DIM:51..
import torchimport torch.nn as nnfrom thop import profileclass Encoder(nn.Module): def __init__(self, latent_dim): super(Encoder, self).__init__() self.latent_dim = latent_dim # stride=2를 초반 레이어에 적용하고, kernel_size를 3으로 줄임 self.in1 = nn.Conv2d(3, 32, kernel_size=3, stride=2, padding=0) self.in2 = nn.Conv2d(3, 32, kernel_size=3, stride=2, padding=2) sel..
plot_outage_probability(256, 40)function plot_outage_probability(dim, snr) % 데이터 정의 data = { 512, 40, [18:30], [0, 0, 0, 0.07, 0.19, 0.68, 2.25, 5.67, 12.25, 22.96, 36.72, 52.0, 66.25], [0, 0, 0.01, 0.09, 0.3, 1.0, 2.86, 6.92, 13.83, 25.4, 39.77, 55.31, 69.1], [0, 0, 0.01, 0.1, 0.3, 1.13, 3.35, 7.95, 16.22, 28.64, 44.77, 61.04, 74.51], [0.04, 0.04, 0.04, 0.04, 0.06, 0.16, 0.42, 1.17..
% MATLAB 코드 시작% 전체 데이터 입력 (dim, snr, FLOPs constraint, Avg. PSNR)data_proposed = [ 512, 40, 3.0, 0.0; 512, 40, 3.1, 0.0; 512, 40, 3.2, 0.0; 512, 40, 3.3, 25.2; 512, 40, 3.4, 25.2; 512, 40, 3.5, 25.2; 512, 40, 3.6, 25.2; 512, 40, 3.7, 25.2; 512, 40, 3.8, 25.2; 512, 40, 3.9, 27.68; 512, 40, 4.0, 27.68; 512, 40, 4.1, 27.68; 512, 40, 4.2, 27.68; 512, 40, 4.3..
% MATLAB 코드 시작plot_psnr_methods(512, 40)function plot_psnr_methods(dim, snr) % 데이터 설정: 각 방법별 DIM과 SNR에 따른 데이터 구성 data = { % Proposed 데이터 'Proposed', 512, 40, [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], ... [25.24, 25.28, 25.34, 25.49, 25.72, 26.03, 26.44, 26.90, 27.35, 27.76, 28.10, 28.36, 28.54]; 'Proposed', 512, 20, [18, 19, 20, 21,..