shapeworks::DeepSSMJob
Qt Wrapper for DeepSSM. More...
#include <DeepSSMJob.h>
Inherits from shapeworks::Job, QObject
Public Types
Name | |
---|---|
enum class | JobType |
enum | PrepStep |
enum class | SplitType |
Public Functions
Name | |
---|---|
DeepSSMJob(std::shared_ptr< Project > project, DeepSSMJob::JobType tool_mode, DeepSSMJob::PrepStep prep_step =DeepSSMJob::NOT_STARTED) | |
~DeepSSMJob() | |
virtual void | run() override run the job |
virtual QString | name() override get the name of the job |
void | run_prep() |
void | run_augmentation() |
void | run_training() |
void | run_testing() |
void | python_message(std::string str) |
void | set_prep_step(DeepSSMJob::PrepStep step) |
std::vector< int > | get_split(ProjectHandle project, DeepSSMJob::SplitType split_type) |
Additional inherited members
Public Signals inherited from shapeworks::Job
Name | |
---|---|
void | progress(double , QString ="") |
void | finished() |
Public Functions inherited from shapeworks::Job
Name | |
---|---|
Job() | |
virtual | ~Job() |
virtual QString | get_completion_message() get a message to display when the job is complete |
virtual QString | get_abort_message() get a message to display when the job is aborted |
void | start_timer() start the timer |
qint64 | timer_elapsed() how much time has elapsed since the timer was started |
void | set_complete(bool complete) set the job as complete |
bool | is_complete() const is the job complete? |
void | abort() abort the job |
bool | is_aborted() const was the job aborted? |
void | set_quiet_mode(bool quiet) set to quiet mode (no progress messages) |
bool | get_quiet_mode() get quiet mode |
Detailed Description
class shapeworks::DeepSSMJob;
Qt Wrapper for DeepSSM.
The DeepSSMJob class wraps the functionality for DeepSSM as a Studio Job object
Public Types Documentation
enum JobType
Enumerator | Value | Description |
---|---|---|
DeepSSM_PrepType | 0 | |
DeepSSM_AugmentationType | 1 | |
DeepSSM_TrainingType | 2 | |
DeepSSM_TestingType | 3 |
enum PrepStep
Enumerator | Value | Description |
---|---|---|
NOT_STARTED | 0 | |
GROOM_TRAINING | 1 | |
OPTIMIZE_TRAINING | 2 | |
OPTIMIZE_VALIDATION | 3 | |
GROOM_IMAGES | 4 | |
DONE | 5 |
enum SplitType
Enumerator | Value | Description |
---|---|---|
TRAIN | ||
VAL | ||
TEST |
Public Functions Documentation
function DeepSSMJob
DeepSSMJob(
std::shared_ptr< Project > project,
DeepSSMJob::JobType tool_mode,
DeepSSMJob::PrepStep prep_step =DeepSSMJob::NOT_STARTED
)
function ~DeepSSMJob
~DeepSSMJob()
function run
virtual void run() override
run the job
Reimplements: shapeworks::Job::run
function name
virtual QString name() override
get the name of the job
Reimplements: shapeworks::Job::name
function run_prep
void run_prep()
function run_augmentation
void run_augmentation()
function run_training
void run_training()
function run_testing
void run_testing()
function python_message
void python_message(
std::string str
)
function set_prep_step
inline void set_prep_step(
DeepSSMJob::PrepStep step
)
function get_split
static std::vector< int > get_split(
ProjectHandle project,
DeepSSMJob::SplitType split_type
)
Updated on 2025-09-04 at 08:01:25 +0000