neural_de.external.maxim_tf packageļ
Subpackagesļ
- neural_de.external.maxim_tf.maxim package
- Subpackages
- neural_de.external.maxim_tf.maxim.blocks package
- Submodules
- neural_de.external.maxim_tf.maxim.blocks.attentions module
- neural_de.external.maxim_tf.maxim.blocks.block_gating module
- neural_de.external.maxim_tf.maxim.blocks.bottleneck module
- neural_de.external.maxim_tf.maxim.blocks.grid_gating module
- neural_de.external.maxim_tf.maxim.blocks.misc_gating module
- neural_de.external.maxim_tf.maxim.blocks.others module
- neural_de.external.maxim_tf.maxim.blocks.unet module
- Module contents
- neural_de.external.maxim_tf.maxim.blocks package
- Submodules
- neural_de.external.maxim_tf.maxim.configs module
- neural_de.external.maxim_tf.maxim.layers module
- neural_de.external.maxim_tf.maxim.maxim module
MAXIM()
features
depth
num_stages
num_groups
use_bias
num_supervision_scales
lrelu_slope
use_global_mlp
use_cross_gating
high_res_stages
block_size_hr
block_size_lr
grid_size_hr
grid_size_lr
num_bottleneck_blocks
block_gmlp_factor
grid_gmlp_factor
input_proj_factor
channels_reduction
num_outputs
dropout_rate
- Module contents
- Subpackages
Submodulesļ
neural_de.external.maxim_tf.create_maxim_model moduleļ
Model class
- neural_de.external.maxim_tf.create_maxim_model.Model(variant=None, input_resolution=(256, 256), **kw)[source]ļ
Factory function to easily create a Model variant like āSā.
- Parameters:
variant ā UNet model variants. Options: āS-1ā | āS-2ā | āS-3ā | āM-1ā | āM-2ā | āM-3ā
input_resolution ā Size of the input images.
**kw ā Other UNet config dicts.
- Return type:
Model
- Returns:
The MAXIM model.
Module contentsļ
Contains code from the Tensorflow implementation of Maxim from https://github.com/sayakpaul/maxim-tf.