How to use the ramp-engine.rampbkd.config.get_deployment_path function in ramp-engine

To help you get started, we’ve selected a few ramp-engine examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github paris-saclay-cds / ramp-board / ramp-engine / rampbkd / model.py View on Github external
def path(self):
        return os.path.join(
            config.get_deployment_path(),
            'submissions',
            'submission_' + '{0:09d}'.format(self.id))
github paris-saclay-cds / ramp-board / ramp-engine / rampbkd / model.py View on Github external
def get_train_data(self):
        path = os.path.join(config.get_deployment_path(),
                            'ramp-data',
                            self.name)
        return self.module.get_train_data(path=path)
github paris-saclay-cds / ramp-board / ramp-engine / rampbkd / model.py View on Github external
def get_test_data(self):
        path = os.path.join(config.get_deployment_path(),
                            'ramp-data',
                            self.name)
        return self.module.get_test_data(path=path)
github paris-saclay-cds / ramp-board / ramp-engine / rampbkd / model.py View on Github external
def module(self):
        return imp.load_source(
            '', os.path.join(config.get_deployment_path(),
                             'ramp-kits',
                             self.name,
                             'problem.py'))