Пример #1
0
from scripts.ssc.wc_offline.config_libraries.global_register_definitions import PATH_GR_MNIST_EULER
from src.data_preprocessing.witness_complex_offline.config import ConfigWC_Grid
from src.datasets.datasets import SwissRoll, MNIST, MNIST_offline

mnist_1 = ConfigWC_Grid(
    dataset=[MNIST_offline()],
    sampling_kwargs=[dict(root_path='/cluster/home/schsimo/MT/AEs-VAEs-TDA')],
    batch_size=[64, 128, 256, 512, 1024],
    wc_kwargs=[dict()],
    eval_size=[
        0.14
    ],  # not a lot of data "wasted for bs = 4096 & could go to bs=8192
    n_jobs=[16],
    seed=[838],
    global_register=PATH_GR_MNIST_EULER,
    root_path='/cluster/home/schsimo/MT/output/WitnessComplexes/mnist',
    verbose=True)

mnist_2 = ConfigWC_Grid(
    dataset=[MNIST_offline()],
    sampling_kwargs=[dict(root_path='/cluster/home/schsimo/MT/AEs-VAEs-TDA')],
    batch_size=[64, 128, 256, 512, 1024],
    wc_kwargs=[dict()],
    eval_size=[
        0.14
    ],  # not a lot of data "wasted for bs = 4096 & could go to bs=8192
    n_jobs=[6],
    seed=[229],
    global_register=PATH_GR_MNIST_EULER,
    root_path='/cluster/home/schsimo/MT/output/WitnessComplexes/mnist',
    verbose=True)
Пример #2
0
from scripts.ssc.wc_offline.config_libraries.global_register_definitions import \
    (
    PATH_GR_SWISSROLL_EULER, PATH_GR_SWISSROLL_NOISE_EULER)
from src.data_preprocessing.witness_complex_offline.config import ConfigWC_Grid
from src.datasets.datasets import SwissRoll

swissroll_nonoise = ConfigWC_Grid(
    dataset=[SwissRoll()],
    sampling_kwargs=[dict(n_samples=2560)],
    batch_size=[64, 128, 256, 512],
    wc_kwargs=[dict()],
    eval_size=[0.2],
    n_jobs=[2],
    seed=[36, 3851, 2570, 4304, 1935, 7954, 5095, 5310, 1577, 3288],
    global_register=PATH_GR_SWISSROLL_EULER,
    root_path=
    '/cluster/home/schsimo/MT/output/WitnessComplexes/SwissRoll/nonoise',
    verbose=True)

swissroll_noise005 = ConfigWC_Grid(
    dataset=[SwissRoll()],
    sampling_kwargs=[dict(n_samples=2560, noise=0.05)],
    batch_size=[64, 128, 256, 512],
    wc_kwargs=[dict()],
    eval_size=[0.2],
    n_jobs=[2],
    seed=[6973, 5305, 6233, 1503, 3947, 1425, 3391, 2941, 1218, 7946],
    global_register=PATH_GR_SWISSROLL_NOISE_EULER,
    root_path=
    '/cluster/home/schsimo/MT/output/WitnessComplexes/SwissRoll/noise',
    verbose=True)
Пример #3
0
from src.data_preprocessing.witness_complex_offline.config import ConfigWC_Grid
from src.datasets.datasets import SwissRoll

test_wcconfig = ConfigWC_Grid(
    dataset=[SwissRoll()],
    sampling_kwargs=[dict(n_samples=2560)],
    batch_size=[128],
    wc_kwargs=[dict()],
    eval_size=[0.2],
    n_jobs=[4],
    seed=[1],
    global_register=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/wc_global_register.csv',
    root_path=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/tests',
    verbose=True)

test_wcconfig2 = ConfigWC_Grid(
    dataset=[SwissRoll()],
    sampling_kwargs=[dict(n_samples=640)],
    batch_size=[32, 64],
    wc_kwargs=[dict()],
    eval_size=[0.2],
    n_jobs=[1],
    seed=[1],
    global_register=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/wc_global_register.csv',
    root_path=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/tests2',
    verbose=True)
Пример #4
0
from scripts.ssc.wc_offline.config_libraries.global_register_definitions import PATH_GR_UNITY_EULER
from src.data_preprocessing.witness_complex_offline.config import ConfigWC_Grid
from src.datasets.datasets import Unity_XYTransOpenAI

unity_xytrans_rot = ConfigWC_Grid(
    dataset=[Unity_XYTransOpenAI(version='xy_trans_rot')],
    sampling_kwargs=[dict(root_path='/cluster/scratch/schsimo')],
    batch_size=[300],
    wc_kwargs=[dict()],
    eval_size=[0],  # eval set same as train
    n_jobs=[4],
    seed=[1],
    global_register=PATH_GR_UNITY_EULER,
    root_path='/cluster/home/schsimo/MT/output/WitnessComplexes/unity',
    verbose=True)
Пример #5
0
from scripts.ssc.wc_offline.config_libraries.global_register_definitions import *
from src.data_preprocessing.witness_complex_offline.config import ConfigWC_Grid
from src.datasets.datasets import SwissRoll

swissroll_nonoise = ConfigWC_Grid(
    dataset=[SwissRoll()],
    sampling_kwargs=[dict(n_samples=2560)],
    batch_size=[64, 128, 256, 512],
    wc_kwargs=[dict()],
    eval_size=[0.2],
    n_jobs=[2],
    seed=[36],
    global_register=PATH_GR_SWISSROLL_LOCAL,
    root_path=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/SwissRoll/nonoise',
    verbose=True)
Пример #6
0
from scripts.ssc.wc_offline.config_libraries.global_register_definitions import PATH_GR_UNITY_LOCAL
from src.data_preprocessing.witness_complex_offline.config import ConfigWC_Grid
from src.datasets.datasets import Unity_XYTransOpenAI

unity_xytrans1 = ConfigWC_Grid(
    dataset=[Unity_XYTransOpenAI(version='xy_trans_l_newpers')],
    sampling_kwargs=[dict()],
    batch_size=[200],
    wc_kwargs=[dict()],
    eval_size=[0],  # eval set same as train
    n_jobs=[1],
    seed=[1],
    global_register=PATH_GR_UNITY_LOCAL,
    root_path=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/unity',
    verbose=True)

unity_xytrans_rot = ConfigWC_Grid(
    dataset=[Unity_XYTransOpenAI(version='xy_trans_rot')],
    sampling_kwargs=[dict()],
    batch_size=[300],
    wc_kwargs=[dict()],
    eval_size=[0],  # eval set same as train
    n_jobs=[4],
    seed=[1],
    global_register=PATH_GR_UNITY_LOCAL,
    root_path=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/unity',
    verbose=True)

unity_xytrans_final = ConfigWC_Grid(
Пример #7
0
from scripts.ssc.wc_offline.config_libraries.global_register_definitions import (
    PATH_GR_MNIST_EULER, PATH_GR_MNIST_LOCAL)
from src.data_preprocessing.witness_complex_offline.config import ConfigWC_Grid
from src.datasets.datasets import MNIST

mnist_1 = ConfigWC_Grid(
    dataset=[MNIST()],
    sampling_kwargs=[dict()],
    batch_size=[128],
    wc_kwargs=[dict()],
    eval_size=[
        0.14
    ],  # not a lot of data "wasted for bs = 4096 & could go to bs=8192
    n_jobs=[8],
    seed=[1],
    global_register=PATH_GR_MNIST_LOCAL,
    root_path=
    '/Users/simons/PycharmProjects/MT-VAEs-TDA/output/WitnessComplex_offline/mnist',
    verbose=True)