@@ -157,16 +157,16 @@ <h5>Robustness <i class="fa fa-shield"></i>
157
157
</ div >
158
158
< div class ="col-md-7 " style ="right: inherit; ">
159
159
< label >
160
- < input type ="checkbox " id ="mod-neuroninversion " value ='GLLNeuronInversionAttack ' style ="margin-right: 10px; "> GLLNeuronInversionAttack
160
+ < input type ="checkbox " id ="mod-neuroninversion " value ='GLLNeuronInversionAttack ' style ="margin-right: 10px; "> GLL Neuron Inversion
161
161
</ label >
162
162
< label >
163
- < input type ="checkbox " id ="mod-noiseinjection " value ='NoiseInjectionAttack ' style ="margin-right: 10px; "> NoiseInjectionAttack
163
+ < input type ="checkbox " id ="mod-noiseinjection " value ='NoiseInjectionAttack ' style ="margin-right: 10px; "> Noise Injection
164
164
</ label >
165
165
< label >
166
- < input type ="checkbox " id ="mod-swappingweights " value ='SwappingWeightsAttack ' style ="margin-right: 10px; "> SwappingWeightsAttack
166
+ < input type ="checkbox " id ="mod-swappingweights " value ='SwappingWeightsAttack ' style ="margin-right: 10px; "> Swapping Weights
167
167
</ label >
168
168
< label >
169
- < input type ="checkbox " id ="mod-delayer " value ='DelayerAttack ' style ="margin-right: 10px; "> DelayerAttack
169
+ < input type ="checkbox " id ="mod-delayer " value ='DelayerAttack ' style ="margin-right: 10px; "> Delayer
170
170
</ label >
171
171
</ div >
172
172
</ div >
@@ -498,20 +498,20 @@ <h5 class="step-number">Robustness <i class="fa fa-shield"></i>
498
498
< h5 class ="step-title "> Attack Type</ h5 >
499
499
< div class ="form-check form-check-inline ">
500
500
< select class ="form-control " id ="poisoning-attack-select " name ="poisoning-attack "
501
- style ="display: inline; width: 80 % ">
501
+ style ="display: inline; width: 15 % ">
502
502
< option selected > No Attack</ option >
503
503
< option > Label Flipping</ option >
504
504
< option > Sample Poisoning</ option >
505
505
< option > Model Poisoning</ option >
506
- < option > GLLNeuronInversionAttack </ option >
507
- < option > NoiseInjectionAttack </ option >
508
- < option > SwappingWeightsAttack </ option >
509
- < option > DelayerAttack </ option >
506
+ < option > GLL Neuron Inversion </ option >
507
+ < option > Noise Injection </ option >
508
+ < option > Swapping Weights </ option >
509
+ < option > Delayer </ option >
510
510
</ select >
511
- < h5 id ="poisoned-node-title " class ="step-title " style ="margin-left: 11px; display: none; "> % malicious nodes</ h5 >
511
+ < h5 id ="poisoned-node-title " class ="step-title " style ="margin-left: 11px; display: none; "> % Malicious nodes</ h5 >
512
512
< div class ="form-check form-check-inline " style ="display: none; " id ="poisoned-node-percent-container ">
513
513
< input type ="number " class ="form-control " id ="poisoned-node-percent "
514
- placeholder ="% malicious nodes " min ="0 " value ="0 " style ="display: inline; width: 80 % ">
514
+ placeholder ="% malicious nodes " min ="0 " value ="0 " style ="display: inline; width: 20 % ">
515
515
< select class ="form-control " id ="malicious-nodes-select " name ="malicious-nodes-select "
516
516
style ="display: inline; width: 10% ">
517
517
< option selected > Percentage</ option >
@@ -521,51 +521,51 @@ <h5 id="poisoned-node-title" class="step-title" style="margin-left: 11px; displa
521
521
< i id ="maliciousHelpIcon " class ="fa fa-info-circle " style ="cursor: pointer; "> </ i >
522
522
</ small >
523
523
</ div >
524
- < h5 class ="step-title " id ="poisoned-sample-title " style ="display: none; "> % samples poisoned by each malicious node</ h5 >
524
+ < h5 class ="step-title " id ="poisoned-sample-title " style ="display: none; "> % Samples poisoned by each malicious node</ h5 >
525
525
< div class ="form-check form-check-inline " id ="poisoned-sample-percent-container " style ="display: none; ">
526
526
< input type ="number " class ="form-control " id ="poisoned-sample-percent "
527
527
placeholder ="% samples poisoned in each malicious node " min ="0 " value ="0 " max ="100 "
528
528
oninput ="isInRange(this, 0, 100) "
529
- style ="display: inline; width: 80 % ">
529
+ style ="display: inline; width: 20 % ">
530
530
</ div >
531
- < h5 id ="poisoned-noise-title " class ="step-title " style ="display: none; "> % poisoned noise</ h5 >
531
+ < h5 id ="poisoned-noise-title " class ="step-title " style ="display: none; "> % Poisoned noise</ h5 >
532
532
< div class ="form-check form-check-inline " id ="poisoned-noise-percent-container " style ="display: none; ">
533
533
< input type ="number " class ="form-control " id ="poisoned-noise-percent "
534
534
placeholder ="% noise in each poisoned sample " min ="0 " value ="0 "
535
- style ="display: inline; width: 80 % ">
535
+ style ="display: inline; width: 20 % ">
536
536
</ div >
537
- < h5 id ="noise-type-title " class ="step-title " style ="display: none; "> noise type</ h5 >
537
+ < h5 id ="noise-type-title " class ="step-title " style ="display: none; "> Noise type</ h5 >
538
538
< div class ="form-check form-check-inline " id ="noise-type-container " style ="display: none; ">
539
539
< select class ="form-control " id ="noise_type " name ="noise-type "
540
- style ="display: inline; width: 80 % ">
540
+ style ="display: inline; width: 20 % ">
541
541
< option selected > Salt</ option >
542
542
< option > Gaussian</ option >
543
543
< option > S&P</ option >
544
544
</ select >
545
545
</ div >
546
- < h5 id ="targeted-title " class ="step-title " style ="display: none; "> targeted </ h5 >
546
+ < h5 id ="targeted-title " class ="step-title " style ="display: none; "> Targeted </ h5 >
547
547
< div class ="form-check form-check-inline " id ="targeted-container " style ="display: none; ">
548
548
< div class ="form-check form-switch " style ="margin-bottom: 20px; ">
549
549
< input class ="form-check-input " type ="checkbox " id ="targeted " checked ="false " style ="display: inline; width: 80px; height: 30px; ">
550
550
</ div >
551
551
</ div >
552
- < h5 id ="target_label-title " class ="step-title " style ="display: none; "> target label</ h5 >
552
+ < h5 id ="target_label-title " class ="step-title " style ="display: none; "> Target label</ h5 >
553
553
< div class ="form-check form-check-inline " id ="target_label-container " style ="display: none; ">
554
554
< input type ="number " class ="form-control " id ="target_label "
555
555
placeholder ="target label " min ="0 " value ="4 "
556
- style ="display: inline; width: 80 % ">
556
+ style ="display: inline; width: 20 % ">
557
557
</ div >
558
- < h5 id ="target_changed_label-title " class ="step-title " style ="display: none; "> target changed label</ h5 >
558
+ < h5 id ="target_changed_label-title " class ="step-title " style ="display: none; "> Target changed label</ h5 >
559
559
< div class ="form-check form-check-inline " id ="target_changed_label-container " style ="display: none; ">
560
560
< input type ="number " class ="form-control " id ="target_changed_label "
561
561
placeholder ="target changed label " min ="0 " value ="7 "
562
- style ="display: inline; width: 80 % ">
562
+ style ="display: inline; width: 20 % ">
563
563
</ div >
564
564
< h5 id ="strength-title " class ="step-title " style ="display: none; "> Noise strength</ h5 >
565
565
< div class ="form-check form-check-inline " id ="strength-container " style ="display: none; ">
566
566
< input type ="number " class ="form-control " id ="strength "
567
567
placeholder ="Noise strength " value ="10000 "
568
- style ="display: inline; width: 80 % ">
568
+ style ="display: inline; width: 20 % ">
569
569
</ div >
570
570
< h5 id ="layer_idx-title " class ="step-title " style ="display: none; "> Layer</ h5 >
571
571
< div class ="form-check form-check-inline " id ="layer_idx-container " style ="display: none; ">
@@ -2778,7 +2778,7 @@ <h5 class="step-title">Schema of deployment</h5>
2778
2778
document . getElementById ( "stop-attack-title" ) . style . display = "block" ;
2779
2779
document . getElementById ( "stop-attack-container" ) . style . display = "block" ;
2780
2780
}
2781
- else if ( this . value == "GLLNeuronInversionAttack " ) {
2781
+ else if ( this . value == "GLL Neuron Inversion " ) {
2782
2782
document . getElementById ( "poisoned-node-title" ) . style . display = "block" ;
2783
2783
document . getElementById ( "poisoned-node-percent-container" ) . style . display = "block" ;
2784
2784
document . getElementById ( "poisoned-sample-title" ) . style . display = "none" ;
@@ -2787,10 +2787,12 @@ <h5 class="step-title">Schema of deployment</h5>
2787
2787
document . getElementById ( "poisoned-noise-percent-container" ) . style . display = "none" ;
2788
2788
document . getElementById ( "noise-type-title" ) . style . display = "none" ;
2789
2789
document . getElementById ( "noise-type-container" ) . style . display = "none" ;
2790
- document . getElementById ( "targeted" ) . checked = false ;
2791
- document . getElementById ( "targeted" ) . dispatchEvent ( new Event ( 'change' ) ) ;
2792
2790
document . getElementById ( "targeted-title" ) . style . display = "none" ;
2793
2791
document . getElementById ( "targeted-container" ) . style . display = "none" ;
2792
+ document . getElementById ( "target_label-title" ) . style . display = "none" ;
2793
+ document . getElementById ( "target_label-container" ) . style . display = "none" ;
2794
+ document . getElementById ( "target_changed_label-title" ) . style . display = "none" ;
2795
+ document . getElementById ( "target_changed_label-container" ) . style . display = "none" ;
2794
2796
document . getElementById ( "strength-title" ) . style . display = "none" ;
2795
2797
document . getElementById ( "strength-container" ) . style . display = "none" ;
2796
2798
document . getElementById ( "layer_idx-title" ) . style . display = "none" ;
@@ -2802,7 +2804,7 @@ <h5 class="step-title">Schema of deployment</h5>
2802
2804
document . getElementById ( "stop-attack-title" ) . style . display = "block" ;
2803
2805
document . getElementById ( "stop-attack-container" ) . style . display = "block" ;
2804
2806
}
2805
- else if ( this . value == "NoiseInjectionAttack " ) {
2807
+ else if ( this . value == "Noise Injection " ) {
2806
2808
document . getElementById ( "poisoned-node-title" ) . style . display = "block" ;
2807
2809
document . getElementById ( "poisoned-node-percent-container" ) . style . display = "block" ;
2808
2810
document . getElementById ( "poisoned-sample-title" ) . style . display = "none" ;
@@ -2811,10 +2813,12 @@ <h5 class="step-title">Schema of deployment</h5>
2811
2813
document . getElementById ( "poisoned-noise-percent-container" ) . style . display = "none" ;
2812
2814
document . getElementById ( "noise-type-title" ) . style . display = "none" ;
2813
2815
document . getElementById ( "noise-type-container" ) . style . display = "none" ;
2814
- document . getElementById ( "targeted" ) . checked = false ;
2815
- document . getElementById ( "targeted" ) . dispatchEvent ( new Event ( 'change' ) ) ;
2816
2816
document . getElementById ( "targeted-title" ) . style . display = "none" ;
2817
2817
document . getElementById ( "targeted-container" ) . style . display = "none" ;
2818
+ document . getElementById ( "target_label-title" ) . style . display = "none" ;
2819
+ document . getElementById ( "target_label-container" ) . style . display = "none" ;
2820
+ document . getElementById ( "target_changed_label-title" ) . style . display = "none" ;
2821
+ document . getElementById ( "target_changed_label-container" ) . style . display = "none" ;
2818
2822
document . getElementById ( "strength-title" ) . style . display = "block" ;
2819
2823
document . getElementById ( "strength-container" ) . style . display = "block" ;
2820
2824
document . getElementById ( "layer_idx-title" ) . style . display = "none" ;
@@ -2826,7 +2830,7 @@ <h5 class="step-title">Schema of deployment</h5>
2826
2830
document . getElementById ( "stop-attack-title" ) . style . display = "block" ;
2827
2831
document . getElementById ( "stop-attack-container" ) . style . display = "block" ;
2828
2832
}
2829
- else if ( this . value == "SwappingWeightsAttack " ) {
2833
+ else if ( this . value == "Swapping Weights " ) {
2830
2834
document . getElementById ( "poisoned-node-title" ) . style . display = "block" ;
2831
2835
document . getElementById ( "poisoned-node-percent-container" ) . style . display = "block" ;
2832
2836
document . getElementById ( "poisoned-sample-title" ) . style . display = "none" ;
@@ -2835,10 +2839,12 @@ <h5 class="step-title">Schema of deployment</h5>
2835
2839
document . getElementById ( "poisoned-noise-percent-container" ) . style . display = "none" ;
2836
2840
document . getElementById ( "noise-type-title" ) . style . display = "none" ;
2837
2841
document . getElementById ( "noise-type-container" ) . style . display = "none" ;
2838
- document . getElementById ( "targeted" ) . checked = false ;
2839
- document . getElementById ( "targeted" ) . dispatchEvent ( new Event ( 'change' ) ) ;
2840
2842
document . getElementById ( "targeted-title" ) . style . display = "none" ;
2841
2843
document . getElementById ( "targeted-container" ) . style . display = "none" ;
2844
+ document . getElementById ( "target_label-title" ) . style . display = "none" ;
2845
+ document . getElementById ( "target_label-container" ) . style . display = "none" ;
2846
+ document . getElementById ( "target_changed_label-title" ) . style . display = "none" ;
2847
+ document . getElementById ( "target_changed_label-container" ) . style . display = "none" ;
2842
2848
document . getElementById ( "strength-title" ) . style . display = "none" ;
2843
2849
document . getElementById ( "strength-container" ) . style . display = "none" ;
2844
2850
document . getElementById ( "layer_idx-title" ) . style . display = "block" ;
@@ -2850,7 +2856,7 @@ <h5 class="step-title">Schema of deployment</h5>
2850
2856
document . getElementById ( "stop-attack-title" ) . style . display = "block" ;
2851
2857
document . getElementById ( "stop-attack-container" ) . style . display = "block" ;
2852
2858
}
2853
- else if ( this . value == "DelayerAttack " ) {
2859
+ else if ( this . value == "Delayer " ) {
2854
2860
document . getElementById ( "poisoned-node-title" ) . style . display = "block" ;
2855
2861
document . getElementById ( "poisoned-node-percent-container" ) . style . display = "block" ;
2856
2862
document . getElementById ( "poisoned-sample-title" ) . style . display = "none" ;
@@ -2859,10 +2865,12 @@ <h5 class="step-title">Schema of deployment</h5>
2859
2865
document . getElementById ( "poisoned-noise-percent-container" ) . style . display = "none" ;
2860
2866
document . getElementById ( "noise-type-title" ) . style . display = "none" ;
2861
2867
document . getElementById ( "noise-type-container" ) . style . display = "none" ;
2862
- document . getElementById ( "targeted" ) . checked = false ;
2863
- document . getElementById ( "targeted" ) . dispatchEvent ( new Event ( 'change' ) ) ;
2864
2868
document . getElementById ( "targeted-title" ) . style . display = "none" ;
2865
2869
document . getElementById ( "targeted-container" ) . style . display = "none" ;
2870
+ document . getElementById ( "target_label-title" ) . style . display = "none" ;
2871
+ document . getElementById ( "target_label-container" ) . style . display = "none" ;
2872
+ document . getElementById ( "target_changed_label-title" ) . style . display = "none" ;
2873
+ document . getElementById ( "target_changed_label-container" ) . style . display = "none" ;
2866
2874
document . getElementById ( "strength-title" ) . style . display = "none" ;
2867
2875
document . getElementById ( "strength-container" ) . style . display = "none" ;
2868
2876
document . getElementById ( "layer_idx-title" ) . style . display = "none" ;
0 commit comments