File size: 329 Bytes
ac7cda5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from ..models.decoder import Decoder


"""
# __init__
decoder_cfg = {
    "model_path": "",
    "device": "cuda",
}
"""

class DecodeF3D:
    def __init__(
        self,
        decoder_cfg,
    ):
        self.decoder = Decoder(**decoder_cfg)

    def __call__(self, f_s):
        out = self.decoder(f_s)
        return out