Documentation
¶
Index ¶
- type Model
- func (sd *Model) Close()
- func (sd *Model) CloseUpscaleModel()
- func (sd *Model) GetSystemInfo() string
- func (sd *Model) LoadFromFile(path string) (err error)
- func (sd *Model) LoadUpscaleModel(esrganPath string) (err error)
- func (sd *Model) Predict(params *opts.Params, debug bool) (filenames []string, err error)
- func (sd *Model) UpscaleImage(wg *sync.WaitGroup, filenameIn, filenameOut string, upscaleFactor uint32) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) CloseUpscaleModel ¶
func (sd *Model) CloseUpscaleModel()
func (*Model) GetSystemInfo ¶
func (*Model) LoadFromFile ¶
func (*Model) LoadUpscaleModel ¶
Click to show internal directories.
Click to hide internal directories.