Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
lightly | lightly-master/lightly/data/_helpers.py | """ Helper Functions """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import os
from typing import Any, Callable, Dict, List, Optional, Set
from torchvision import datasets
from lightly.data._image import DatasetFolder
try:
from lightly.data._video import VideoDataset
VIDEO_D... | 4,189 | 25.687898 | 86 | py |
lightly | lightly-master/lightly/data/_image.py | """ Image Dataset """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import os
from typing import List, Set, Tuple
import torchvision.datasets as datasets
from torchvision import transforms
from lightly.data._image_loaders import default_loader
def _make_dataset(
directory, extensi... | 3,811 | 26.623188 | 84 | py |
lightly | lightly-master/lightly/data/_image_loaders.py | """torchvision image loaders
(see https://pytorch.org/docs/stable/_modules/torchvision/datasets/folder.html)
"""
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
from PIL import Image
def pil_loader(path):
# open path as file to avoid ResourceWarning
# (https://github.com/python-p... | 851 | 22.027027 | 79 | py |
lightly | lightly-master/lightly/data/_utils.py | """ Check for Corrupt Images """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import os
from typing import *
import tqdm.contrib.concurrent as concurrent
from PIL import Image, UnidentifiedImageError
from lightly.data import LightlyDataset
def check_images(data_dir: str) -> Tuple[Lis... | 1,203 | 27.666667 | 86 | py |
lightly | lightly-master/lightly/data/_video.py | """ Video Dataset """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import os
import threading
import warnings
import weakref
from fractions import Fraction
from typing import Any, Dict, List, Tuple
import numpy as np
import torch
import torchvision
from PIL import Image
from torch.utils... | 25,874 | 34.204082 | 112 | py |
lightly | lightly-master/lightly/data/collate.py | """ Collate Functions """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import math
from multiprocessing import Value
from typing import List, Optional, Tuple, Union
from warnings import warn
import torch
import torch.nn as nn
import torchvision
import torchvision.transforms as T
from PI... | 55,832 | 35.587811 | 161 | py |
lightly | lightly-master/lightly/data/dataset.py | # Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import bisect
import os
import shutil
import tempfile
from typing import Any, Callable, Dict, List, Union
import torchvision.datasets as datasets
from PIL import Image
from torch._C import Value
from torchvision import transforms
from torchvis... | 13,255 | 35.021739 | 87 | py |
lightly | lightly-master/lightly/data/lightly_subset.py | from typing import Dict, List, Tuple
from lightly.data.dataset import LightlyDataset
class LightlySubset(LightlyDataset):
def __init__(self, base_dataset: LightlyDataset, filenames_subset: List[str]):
"""Creates a subset of a LightlyDataset.
Args:
base_dataset:
The da... | 2,569 | 31.125 | 87 | py |
lightly | lightly-master/lightly/data/multi_view_collate.py | from typing import List, Tuple
from warnings import warn
import torch
from torch import Tensor
class MultiViewCollate:
"""Collate function that combines views from multiple images into a batch.
Example:
>>> transform = SimCLRTransform()
>>> dataset = LightlyDataset(input_dir, transform=trans... | 3,022 | 37.75641 | 108 | py |
lightly | lightly-master/lightly/embedding/__init__.py | """The lightly.embedding module provides trainable embedding strategies.
The embedding models use a pre-trained ResNet but should be finetuned on each
dataset instance.
"""
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
from lightly.embedding._base import BaseEmbedding
from lightly.embed... | 366 | 27.230769 | 77 | py |
lightly | lightly-master/lightly/embedding/_base.py | """ BaseEmbeddings """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import copy
import os
import omegaconf
from omegaconf import DictConfig
from pytorch_lightning import LightningModule, Trainer
from lightly.embedding import callbacks
class BaseEmbedding(LightningModule):
"""All t... | 3,778 | 32.149123 | 99 | py |
lightly | lightly-master/lightly/embedding/callbacks.py | import os
from omegaconf import DictConfig
from pytorch_lightning.callbacks import ModelCheckpoint, ModelSummary
from lightly.utils.hipify import print_as_warning
def create_checkpoint_callback(
save_last=False,
save_top_k=0,
monitor="loss",
dirpath=None,
) -> ModelCheckpoint:
"""Initializes the... | 2,775 | 31.658824 | 131 | py |
lightly | lightly-master/lightly/embedding/embedding.py | """ Embedding Strategies """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import time
from typing import List, Tuple, Union
import numpy as np
import torch
from tqdm import tqdm
import lightly
from lightly.embedding._base import BaseEmbedding
from lightly.utils.reordering import sort_i... | 5,193 | 32.294872 | 87 | py |
lightly | lightly-master/lightly/loss/__init__.py | """The lightly.loss package provides loss functions for self-supervised learning. """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
from lightly.loss.barlow_twins_loss import BarlowTwinsLoss
from lightly.loss.dcl_loss import DCLLoss, DCLWLoss
from lightly.loss.dino_loss import DINOLoss
fr... | 805 | 43.777778 | 85 | py |
lightly | lightly-master/lightly/loss/barlow_twins_loss.py | import torch
import torch.distributed as dist
class BarlowTwinsLoss(torch.nn.Module):
"""Implementation of the Barlow Twins Loss from Barlow Twins[0] paper.
This code specifically implements the Figure Algorithm 1 from [0].
[0] Zbontar,J. et.al, 2021, Barlow Twins... https://arxiv.org/abs/2103.03230
... | 2,625 | 33.103896 | 86 | py |
lightly | lightly-master/lightly/loss/dcl_loss.py | from functools import partial
from typing import Callable, Optional
import torch
from torch import Tensor
from torch import distributed as torch_dist
from torch import nn
from lightly.utils import dist
def negative_mises_fisher_weights(
out0: Tensor, out1: Tensor, sigma: float = 0.5
) -> torch.Tensor:
"""Ne... | 9,091 | 36.262295 | 102 | py |
lightly | lightly-master/lightly/loss/dino_loss.py | from typing import List
import torch
import torch.distributed as dist
import torch.nn as nn
import torch.nn.functional as F
class DINOLoss(nn.Module):
"""
Implementation of the loss described in 'Emerging Properties in
Self-Supervised Vision Transformers'. [0]
This implementation follows the code pu... | 5,297 | 34.557047 | 82 | py |
lightly | lightly-master/lightly/loss/hypersphere_loss.py | """
FIXME: hypersphere is perhaps bad naming as I am not sure it is the essence;
alignment-and-uniformity loss perhaps? Does not sound as nice.
"""
import torch
import torch.nn.functional as F
class HypersphereLoss(torch.nn.Module):
"""
Implementation of the loss described in 'Understanding Contrastive Repr... | 3,477 | 37.644444 | 126 | py |
lightly | lightly-master/lightly/loss/memory_bank.py | """ Memory Bank Wrapper """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import functools
import torch
class MemoryBankModule(torch.nn.Module):
"""Memory bank implementation
This is a parent class to all loss functions implemented by the lightly
Python package. This way, ... | 3,923 | 29.65625 | 85 | py |
lightly | lightly-master/lightly/loss/msn_loss.py | import math
import warnings
from typing import Union
import torch
import torch.distributed as dist
import torch.nn as nn
import torch.nn.functional as F
from torch import Tensor
def prototype_probabilities(
queries: Tensor,
prototypes: Tensor,
temperature: float,
) -> Tensor:
"""Returns probability f... | 8,522 | 33.228916 | 88 | py |
lightly | lightly-master/lightly/loss/negative_cosine_similarity.py | """ Negative Cosine Similarity Loss Function """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import torch
from torch.nn.functional import cosine_similarity
class NegativeCosineSimilarity(torch.nn.Module):
"""Implementation of the Negative Cosine Simililarity used in the SimSiam[0]... | 1,343 | 29.545455 | 87 | py |
lightly | lightly-master/lightly/loss/ntx_ent_loss.py | """ Contrastive Loss Functions """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import torch
from torch import distributed as torch_dist
from torch import nn
from lightly.loss.memory_bank import MemoryBankModule
from lightly.utils import dist
class NTXentLoss(MemoryBankModule):
""... | 7,186 | 39.376404 | 104 | py |
lightly | lightly-master/lightly/loss/pmsn_loss.py | from typing import Callable
import torch
import torch.nn.functional as F
from torch import Tensor
from lightly.loss.msn_loss import MSNLoss
class PMSNLoss(MSNLoss):
"""Implementation of the loss function from PMSN [0] using a power law target
distribution.
- [0]: Prior Matching for Siamese Networks, 20... | 5,790 | 37.098684 | 91 | py |
lightly | lightly-master/lightly/loss/swav_loss.py | from typing import List
import torch
import torch.distributed as dist
import torch.nn as nn
import torch.nn.functional as F
@torch.no_grad()
def sinkhorn(
out: torch.Tensor,
iterations: int = 3,
epsilon: float = 0.05,
gather_distributed: bool = False,
) -> torch.Tensor:
"""Distributed sinkhorn al... | 5,741 | 30.9 | 84 | py |
lightly | lightly-master/lightly/loss/sym_neg_cos_sim_loss.py | """ Symmetrized Negative Cosine Similarity Loss Functions """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import warnings
import torch
class SymNegCosineSimilarityLoss(torch.nn.Module):
"""Implementation of the Symmetrized Loss used in the SimSiam[0] paper.
[0] SimSiam, 2020... | 2,308 | 28.987013 | 80 | py |
lightly | lightly-master/lightly/loss/tico_loss.py | import torch
import torch.distributed as dist
from lightly.utils.dist import gather
class TiCoLoss(torch.nn.Module):
"""Implementation of the Tico Loss from Tico[0] paper.
This implementation takes inspiration from the code published
by sayannag using Lightly. [1]
[0] Jiachen Zhu et. al, 2022, Tico.... | 3,887 | 30.609756 | 126 | py |
lightly | lightly-master/lightly/loss/vicreg_loss.py | import torch
import torch.distributed as dist
import torch.nn.functional as F
from torch import Tensor
from lightly.utils.dist import gather
class VICRegLoss(torch.nn.Module):
"""Implementation of the VICReg loss [0].
This implementation is based on the code published by the authors [1].
- [0] VICReg, ... | 4,817 | 30.285714 | 114 | py |
lightly | lightly-master/lightly/loss/vicregl_loss.py | from typing import Optional, Sequence, Tuple
import torch
import torch.distributed as dist
from torch import Tensor
from lightly.loss.vicreg_loss import (
VICRegLoss,
covariance_loss,
invariance_loss,
variance_loss,
)
from lightly.models.utils import nearest_neighbors
from lightly.utils.dist import ga... | 17,701 | 40.75 | 136 | py |
lightly | lightly-master/lightly/loss/regularizer/__init__.py | """The lightly.loss.regularizer package provides regularizers for self-supervised learning. """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
from lightly.loss.regularizer.co2 import CO2Regularizer
| 230 | 27.875 | 95 | py |
lightly | lightly-master/lightly/loss/regularizer/co2.py | """ CO2 Regularizer """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import torch
from lightly.loss.memory_bank import MemoryBankModule
class CO2Regularizer(MemoryBankModule):
"""Implementation of the CO2 regularizer [0] for self-supervised learning.
[0] CO2, 2021, https://ar... | 5,522 | 37.089655 | 93 | py |
lightly | lightly-master/lightly/models/__init__.py | """The lightly.models package provides model implementations.
Note that the high-level building blocks will be deprecated with
lightly version 1.3.0. Instead, use low-level building blocks to build the
models yourself.
Example implementations for all models can be found here:
`Model Examples <https://docs.lightly.ai... | 1,071 | 34.733333 | 89 | py |
lightly | lightly-master/lightly/models/_momentum.py | """ Momentum Encoder """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import copy
import torch
import torch.nn as nn
def _deactivate_requires_grad(params):
"""Deactivates the requires_grad flag for all parameters."""
for param in params:
param.requires_grad = False
d... | 3,144 | 30.767677 | 80 | py |
lightly | lightly-master/lightly/models/barlowtwins.py | """ Barlow Twins resnet-based Model [0]
[0] Zbontar,J. et.al. 2021. Barlow Twins... https://arxiv.org/abs/2103.03230
"""
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import warnings
import torch
import torch.nn as nn
from lightly.models.modules import BarlowTwinsProjectionHead
class ... | 3,976 | 31.333333 | 113 | py |
lightly | lightly-master/lightly/models/batchnorm.py | """ SplitBatchNorm Implementation """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import torch
import torch.nn as nn
class SplitBatchNorm(nn.BatchNorm2d):
"""Simulates multi-gpu behaviour of BatchNorm in one gpu by splitting.
Implementation was adapted from:
https://githu... | 2,714 | 31.710843 | 87 | py |
lightly | lightly-master/lightly/models/byol.py | """ BYOL Model """
# Copyright (c) 2021. Lightly AG and its affiliates.
# All Rights Reserved
import warnings
import torch
import torch.nn as nn
from lightly.models._momentum import _MomentumEncoderMixin
from lightly.models.modules import BYOLProjectionHead
def _get_byol_mlp(num_ftrs: int, hidden_dim: int, out_di... | 5,349 | 30.845238 | 113 | py |
lightly | lightly-master/lightly/models/moco.py | """ MoCo Model """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import warnings
import torch
import torch.nn as nn
from lightly.models._momentum import _MomentumEncoderMixin
from lightly.models.modules import MoCoProjectionHead
class MoCo(nn.Module, _MomentumEncoderMixin):
"""Imp... | 4,373 | 30.927007 | 113 | py |
lightly | lightly-master/lightly/models/nnclr.py | """ NNCLR Model """
# Copyright (c) 2021. Lightly AG and its affiliates.
# All Rights Reserved
import warnings
import torch
import torch.nn as nn
from lightly.models.modules import NNCLRPredictionHead, NNCLRProjectionHead
def _prediction_mlp(in_dims: int, h_dims: int, out_dims: int) -> nn.Sequential:
"""Predi... | 7,095 | 30.122807 | 113 | py |
lightly | lightly-master/lightly/models/resnet.py | """Custom ResNet Implementation
Note that the architecture we present here differs from the one used in
torchvision. We replace the first 7x7 convolution by a 3x3 convolution to make
the model faster and run better on smaller input image resolutions.
Furthermore, we introduce a resnet-9 variant for extra small models... | 8,383 | 27.517007 | 82 | py |
lightly | lightly-master/lightly/models/simclr.py | """ SimCLR Model """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import warnings
import torch
import torch.nn as nn
from lightly.models.modules import SimCLRProjectionHead
class SimCLR(nn.Module):
"""Implementation of the SimCLR[0] architecture
Recommended loss: :py:class:`... | 3,399 | 30.192661 | 113 | py |
lightly | lightly-master/lightly/models/simsiam.py | """ SimSiam Model """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import warnings
import torch
import torch.nn as nn
from lightly.models.modules import SimSiamPredictionHead, SimSiamProjectionHead
class SimSiam(nn.Module):
"""Implementation of SimSiam[0] network
Recommended... | 4,169 | 29.888889 | 113 | py |
lightly | lightly-master/lightly/models/utils.py | """ Utils for working with SSL models """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
import math
import warnings
from typing import Iterable, List, Optional, Tuple, Union
import numpy as np
import torch
import torch.distributed as dist
import torch.nn as nn
from numpy.typing import ND... | 23,040 | 31.135286 | 115 | py |
lightly | lightly-master/lightly/models/zoo.py | """ Lightly Model Zoo """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
ZOO = {
"resnet-9/simclr/d16/w0.0625": "https://storage.googleapis.com/models_boris/whattolabel-resnet9-simclr-d16-w0.0625-i-ce0d6bd9.pth",
"resnet-9/simclr/d16/w0.125": "https://storage.googleapis.com/models_... | 1,573 | 40.421053 | 135 | py |
lightly | lightly-master/lightly/models/modules/__init__.py | """The lightly.models.modules package provides reusable modules.
This package contains reusable modules such as the NNmemoryBankModule which
can be combined with any lightly model.
"""
# Copyright (c) 2021. Lightly AG and its affiliates.
# All Rights Reserved
from lightly import _torchvision_vit_available
from ligh... | 987 | 25 | 75 | py |
lightly | lightly-master/lightly/models/modules/heads.py | """ Projection and Prediction Heads for Self-supervised Learning """
# Copyright (c) 2021. Lightly AG and its affiliates.
# All Rights Reserved
from typing import List, Optional, Tuple, Union
import torch
import torch.nn as nn
from lightly.models import utils
class ProjectionHead(nn.Module):
"""Base class for... | 23,561 | 31.861925 | 88 | py |
lightly | lightly-master/lightly/models/modules/ijepa.py | import math
from functools import partial
from typing import Callable, List, Optional
import numpy as np
import torch
import torch.nn as nn
from torchvision.models import vision_transformer
from torchvision.models.vision_transformer import ConvStemConfig
from lightly.models import utils
class IJEPAPredictor(vision_... | 15,110 | 33.817972 | 112 | py |
lightly | lightly-master/lightly/models/modules/masked_autoencoder.py | from __future__ import annotations
import math
from functools import partial
from typing import Callable, List, Optional
import torch
import torch.nn as nn
# vision_transformer requires torchvision >= 0.12
from torchvision.models import vision_transformer
from torchvision.models.vision_transformer import ConvStemCon... | 14,929 | 33.560185 | 112 | py |
lightly | lightly-master/lightly/models/modules/nn_memory_bank.py | """ Nearest Neighbour Memory Bank Module """
# Copyright (c) 2021. Lightly AG and its affiliates.
# All Rights Reserved
import torch
from lightly.loss.memory_bank import MemoryBankModule
class NNMemoryBankModule(MemoryBankModule):
"""Nearest Neighbour Memory Bank implementation
This class implements a nea... | 2,108 | 31.446154 | 85 | py |
lightly | lightly-master/lightly/openapi_generated/__init__.py | 0 | 0 | 0 | py | |
lightly | lightly-master/lightly/openapi_generated/swagger_client/__init__.py | # coding: utf-8
# flake8: noqa
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0... | 25,833 | 98.745174 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api_client.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 30,347 | 39.089828 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api_response.py | """API response object."""
from __future__ import annotations
from typing import Any, Dict, Optional
from pydantic import Field, StrictInt, StrictStr
class ApiResponse:
"""
API response object
"""
status_code: Optional[StrictInt] = Field(None, description="HTTP status code")
headers: Optional[Dic... | 844 | 31.5 | 91 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/configuration.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 17,712 | 32.998081 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/exceptions.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 5,292 | 31.27439 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/rest.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 12,981 | 41.986755 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/__init__.py | # flake8: noqa
# import apis into api package
from lightly.openapi_generated.swagger_client.api.collaboration_api import CollaborationApi
from lightly.openapi_generated.swagger_client.api.datasets_api import DatasetsApi
from lightly.openapi_generated.swagger_client.api.datasources_api import DatasourcesApi
from lightl... | 1,474 | 66.045455 | 111 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/collaboration_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 22,634 | 44.635081 | 314 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/datasets_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 87,539 | 49.022857 | 1,098 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/datasources_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 128,887 | 53.729512 | 2,163 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/docker_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 276,374 | 47.42737 | 848 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/embeddings2d_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 24,023 | 44.673004 | 391 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/embeddings_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 52,407 | 45.502218 | 405 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/jobs_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 13,183 | 39.318043 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/mappings_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 8,547 | 41.527363 | 288 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/meta_data_configurations_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 30,243 | 44.685801 | 371 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/predictions_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 57,465 | 54.308951 | 789 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/quota_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 7,024 | 38.466292 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/samples_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 80,646 | 46.467334 | 640 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/samplings_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 9,319 | 42.755869 | 336 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/scores_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 24,340 | 45.187856 | 383 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/tags_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 160,062 | 49.797525 | 1,247 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/teams_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 41,554 | 43.301706 | 313 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/api/versioning_api.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 13,290 | 39.769939 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/__init__.py | # coding: utf-8
# flake8: noqa
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.... | 23,629 | 103.557522 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/active_learning_score_create_request.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,231 | 35.727273 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/active_learning_score_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 4,160 | 37.527778 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/annotation_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 4,279 | 40.153846 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/annotation_meta_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,485 | 30.468354 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/annotation_offer_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,723 | 32.62963 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/annotation_state.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 1,057 | 21.510638 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/api_error_code.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 5,197 | 43.810345 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/api_error_response.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,082 | 34.848837 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/async_task_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,409 | 29.506329 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,841 | 33.240964 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/auth0_on_sign_up_request_user.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,161 | 33.747253 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/configuration_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,915 | 37.392157 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/configuration_entry.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,612 | 38.703297 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/configuration_set_request.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,161 | 34.52809 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/configuration_value_data_type.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,155 | 43 | 909 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/create_cf_bucket_activity_request.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,618 | 31.333333 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/create_docker_worker_registry_entry_request.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,735 | 37.916667 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/create_entity_response.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,773 | 31.255814 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/create_sample_with_write_urls_response.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,477 | 36.804348 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/create_team_membership_request.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 2,707 | 32.02439 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/creator.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 1,011 | 21 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/crop_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 4,574 | 43.417476 | 249 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/dataset_create_request.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,948 | 35.906542 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/dataset_creator.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 1,046 | 21.76087 | 220 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/dataset_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 7,328 | 43.150602 | 267 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/dataset_data_enriched.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 7,426 | 42.688235 | 265 | py |
lightly | lightly-master/lightly/openapi_generated/swagger_client/models/dataset_embedding_data.py | # coding: utf-8
"""
Lightly API
Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: ... | 3,553 | 36.808511 | 220 | py |