text stringlengths 5 45.8k | id stringlengths 18 93 | metadata dict | __index_level_0__ int64 0 33 |
|---|---|---|---|
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/vit_layers.py/0 | {
"file_path": "keras-cv/keras_cv/layers/vit_layers.py",
"repo_id": "keras-cv",
"token_count": 3510
} | 17 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/losses/serialization_test.py/0 | {
"file_path": "keras-cv/keras_cv/losses/serialization_test.py",
"repo_id": "keras-cv",
"token_count": 915
} | 18 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/efficientnet_lite/efficientnet_lite_backbone_presets.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/efficientnet_lite/efficientnet_lite_backbone_presets.py",
"repo_id": "keras-cv",
"token_count": 1545
} | 19 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/mix_transformer/mix_transformer_aliases.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/mix_transformer/mix_transformer_aliases.py",
"repo_id": "keras-cv",
"token_count": 3127
} | 20 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/resnet_v1/resnet_v1_backbone_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/resnet_v1/resnet_v1_backbone_test.py",
"repo_id": "keras-cv",
"token_count": 2570
} | 21 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/vit_det/vit_det_backbone_presets_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/vit_det/vit_det_backbone_presets_test.py",
"repo_id": "keras-cv",
"token_count": 1354
} | 22 |
# Legacy folder
These are models that we intend to migrate to the unified KerasNLP/KerasCV API
but have not yet had the opportunity. Units tests in this folder are run on
every PR.
Do not use legacy models unless they fill a short term need and you are
comfortable moving to the new API once they are migrated. Anythi... | keras-cv/keras_cv/models/legacy/README.md/0 | {
"file_path": "keras-cv/keras_cv/models/legacy/README.md",
"repo_id": "keras-cv",
"token_count": 91
} | 23 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/object_detection/retinanet/feature_pyramid.py/0 | {
"file_path": "keras-cv/keras_cv/models/object_detection/retinanet/feature_pyramid.py",
"repo_id": "keras-cv",
"token_count": 1746
} | 24 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/object_detection/yolox/binary_crossentropy.py/0 | {
"file_path": "keras-cv/keras_cv/models/object_detection/yolox/binary_crossentropy.py",
"repo_id": "keras-cv",
"token_count": 1481
} | 25 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/segmentation/segment_anything/sam.py/0 | {
"file_path": "keras-cv/keras_cv/models/segmentation/segment_anything/sam.py",
"repo_id": "keras-cv",
"token_count": 4041
} | 26 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/tests/test_case.py/0 | {
"file_path": "keras-cv/keras_cv/tests/test_case.py",
"repo_id": "keras-cv",
"token_count": 752
} | 27 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/utils/preprocessing_test.py/0 | {
"file_path": "keras-cv/keras_cv/utils/preprocessing_test.py",
"repo_id": "keras-cv",
"token_count": 936
} | 28 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/visualization/plot_image_gallery.py/0 | {
"file_path": "keras-cv/keras_cv/visualization/plot_image_gallery.py",
"repo_id": "keras-cv",
"token_count": 2581
} | 29 |
if [ "$#" -ne 4 ]; then
echo USAGE: ./process_weights.sh WEIGHTS_PATH OUTPUT_WEIGHTS_PATH MODEL_NAME GCS_PATH
exit 1
fi
WEIGHTS=$1
OUTPUT_WEIGHTS=$2
MODEL=$3
GCS_PATH=$4
python3 remove_top.py --weights_path=$WEIGHTS --output_weights_path=$OUTPUT_WEIGHTS --model_name=$MODEL
echo With top: $GCS_PATH/$WEIGHTS
echo ... | keras-cv/shell/weights/process_backbone_weights.sh/0 | {
"file_path": "keras-cv/shell/weights/process_backbone_weights.sh",
"repo_id": "keras-cv",
"token_count": 258
} | 30 |
5.4.0 | keras-cv/.bazelversion/0 | {
"file_path": "keras-cv/.bazelversion",
"repo_id": "keras-cv",
"token_count": 5
} | 0 |
build_file: "keras-cv/.kokoro/github/ubuntu/gpu/build.sh"
action {
define_artifacts {
regex: "**/sponge_log.log"
regex: "**/sponge_log.xml"
}
}
env_vars: {
key: "KERAS_BACKEND"
value: "jax"
}
# Set timeout to 60 mins from default 180 mins
timeout_mins: 60 | keras-cv/.kokoro/github/ubuntu/gpu/jax/continuous.cfg/0 | {
"file_path": "keras-cv/.kokoro/github/ubuntu/gpu/jax/continuous.cfg",
"repo_id": "keras-cv",
"token_count": 119
} | 1 |
load("//build_deps/tf_dependency:tf_configure.bzl", "tf_configure")
tf_configure(name = "local_config_tf")
| keras-cv/WORKSPACE/0 | {
"file_path": "keras-cv/WORKSPACE",
"repo_id": "keras-cv",
"token_count": 44
} | 2 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/benchmarks/vectorized_random_hue.py/0 | {
"file_path": "keras-cv/benchmarks/vectorized_random_hue.py",
"repo_id": "keras-cv",
"token_count": 3049
} | 3 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/conftest.py/0 | {
"file_path": "keras-cv/conftest.py",
"repo_id": "keras-cv",
"token_count": 1663
} | 4 |
licenses(["notice"]) # Apache 2.0
package(default_visibility = ["//visibility:public"])
config_setting(
name = "windows",
constraint_values = ["@bazel_tools//platforms:windows"],
)
py_library(
name = "keras_cv",
srcs = glob(["**/*.py"]),
data = [
"//keras_cv/custom_ops:_keras_cv_custom_ops... | keras-cv/keras_cv/BUILD/0 | {
"file_path": "keras-cv/keras_cv/BUILD",
"repo_id": "keras-cv",
"token_count": 145
} | 5 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/bounding_box/formats.py/0 | {
"file_path": "keras-cv/keras_cv/bounding_box/formats.py",
"repo_id": "keras-cv",
"token_count": 1517
} | 6 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/callbacks/pycoco_callback.py/0 | {
"file_path": "keras-cv/keras_cv/callbacks/pycoco_callback.py",
"repo_id": "keras-cv",
"token_count": 2440
} | 7 |
/* Copyright 2022 The Keras CV Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | keras-cv/keras_cv/custom_ops/box_util.h/0 | {
"file_path": "keras-cv/keras_cv/custom_ops/box_util.h",
"repo_id": "keras-cv",
"token_count": 2003
} | 8 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/augmenter.py/0 | {
"file_path": "keras-cv/keras_cv/layers/augmenter.py",
"repo_id": "keras-cv",
"token_count": 504
} | 9 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/object_detection/non_max_suppression.py/0 | {
"file_path": "keras-cv/keras_cv/layers/object_detection/non_max_suppression.py",
"repo_id": "keras-cv",
"token_count": 9826
} | 10 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/object_detection_3d/heatmap_decoder.py/0 | {
"file_path": "keras-cv/keras_cv/layers/object_detection_3d/heatmap_decoder.py",
"repo_id": "keras-cv",
"token_count": 3810
} | 11 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/cut_mix.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/cut_mix.py",
"repo_id": "keras-cv",
"token_count": 3181
} | 12 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/posterization.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/posterization.py",
"repo_id": "keras-cv",
"token_count": 1668
} | 13 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_choice_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_choice_test.py",
"repo_id": "keras-cv",
"token_count": 1425
} | 14 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_gaussian_blur_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_gaussian_blur_test.py",
"repo_id": "keras-cv",
"token_count": 1637
} | 15 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_zoom_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_zoom_test.py",
"repo_id": "keras-cv",
"token_count": 3492
} | 16 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing_3d/base_augmentation_layer_3d_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing_3d/base_augmentation_layer_3d_test.py",
"repo_id": "keras-cv",
"token_count": 2198
} | 17 |
# Copyright 2022 Waymo LLC.
#
# Licensed under the terms in https://github.com/keras-team/keras-cv/blob/master/keras_cv/layers/preprocessing_3d/waymo/LICENSE # noqa: E501
import tensorflow as tf
from keras_cv.api_export import keras_cv_export
from keras_cv.backend import random
from keras_cv.bounding_box_3d import C... | keras-cv/keras_cv/layers/preprocessing_3d/waymo/global_random_translation.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing_3d/waymo/global_random_translation.py",
"repo_id": "keras-cv",
"token_count": 2151
} | 18 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/regularization/squeeze_excite_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/regularization/squeeze_excite_test.py",
"repo_id": "keras-cv",
"token_count": 785
} | 19 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/losses/ciou_loss.py/0 | {
"file_path": "keras-cv/keras_cv/losses/ciou_loss.py",
"repo_id": "keras-cv",
"token_count": 1538
} | 20 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/csp_darknet/csp_darknet_backbone_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/csp_darknet/csp_darknet_backbone_test.py",
"repo_id": "keras-cv",
"token_count": 2540
} | 21 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/efficientnet_v1/efficientnet_v1_backbone.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/efficientnet_v1/efficientnet_v1_backbone.py",
"repo_id": "keras-cv",
"token_count": 7637
} | 22 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/resnet_v2/resnet_v2_backbone_presets_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/resnet_v2/resnet_v2_backbone_presets_test.py",
"repo_id": "keras-cv",
"token_count": 1493
} | 23 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/classification/image_classifier_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/classification/image_classifier_test.py",
"repo_id": "keras-cv",
"token_count": 3287
} | 24 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/legacy/convnext_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/legacy/convnext_test.py",
"repo_id": "keras-cv",
"token_count": 916
} | 25 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/object_detection/yolox/layers/yolox_label_encoder.py/0 | {
"file_path": "keras-cv/keras_cv/models/object_detection/yolox/layers/yolox_label_encoder.py",
"repo_id": "keras-cv",
"token_count": 765
} | 26 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/segmentation/deeplab_v3_plus/deeplab_v3_plus.py/0 | {
"file_path": "keras-cv/keras_cv/models/segmentation/deeplab_v3_plus/deeplab_v3_plus.py",
"repo_id": "keras-cv",
"token_count": 4745
} | 27 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/segmentation/segment_anything/sam_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/segmentation/segment_anything/sam_test.py",
"repo_id": "keras-cv",
"token_count": 6934
} | 28 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/task.py/0 | {
"file_path": "keras-cv/keras_cv/models/task.py",
"repo_id": "keras-cv",
"token_count": 3150
} | 29 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/utils/target_gather.py/0 | {
"file_path": "keras-cv/keras_cv/utils/target_gather.py",
"repo_id": "keras-cv",
"token_count": 2054
} | 30 |
FROM mcr.microsoft.com/vscode/devcontainers/python:3.9
COPY setup.sh /setup.sh
| keras-cv/.devcontainer/Dockerfile/0 | {
"file_path": "keras-cv/.devcontainer/Dockerfile",
"repo_id": "keras-cv",
"token_count": 34
} | 0 |
#!/bin/bash
SETUP="
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
import tensorflow as tf
import keras_cv.point_cloud
num_points = 200000
num_boxes = 1000
box_dimension = 20.0
def get_points_boxes():
points = tf.random.uniform(
shape=[num_points, 2], minval=0, maxval=box_dimension, dtype=tf.float3... | keras-cv/benchmarks/custom_ops/within_any_box.sh/0 | {
"file_path": "keras-cv/benchmarks/custom_ops/within_any_box.sh",
"repo_id": "keras-cv",
"token_count": 885
} | 1 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/benchmarks/vectorized_random_rotation.py/0 | {
"file_path": "keras-cv/benchmarks/vectorized_random_rotation.py",
"repo_id": "keras-cv",
"token_count": 7228
} | 2 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/examples/benchmarking/imagenet_v2.py/0 | {
"file_path": "keras-cv/examples/benchmarking/imagenet_v2.py",
"repo_id": "keras-cv",
"token_count": 1125
} | 3 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/examples/layers/preprocessing/classification/cut_mix_demo.py/0 | {
"file_path": "keras-cv/examples/layers/preprocessing/classification/cut_mix_demo.py",
"repo_id": "keras-cv",
"token_count": 342
} | 4 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/__init__.py/0 | {
"file_path": "keras-cv/keras_cv/__init__.py",
"repo_id": "keras-cv",
"token_count": 410
} | 5 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/bounding_box/iou.py/0 | {
"file_path": "keras-cv/keras_cv/bounding_box/iou.py",
"repo_id": "keras-cv",
"token_count": 4178
} | 6 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/callbacks/pycoco_callback_test.py/0 | {
"file_path": "keras-cv/keras_cv/callbacks/pycoco_callback_test.py",
"repo_id": "keras-cv",
"token_count": 1469
} | 7 |
/* Copyright 2022 The KerasCV Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | keras-cv/keras_cv/custom_ops/kernels/pairwise_iou_kernel.cc/0 | {
"file_path": "keras-cv/keras_cv/custom_ops/kernels/pairwise_iou_kernel.cc",
"repo_id": "keras-cv",
"token_count": 1196
} | 8 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/object_detection/non_max_suppression_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/object_detection/non_max_suppression_test.py",
"repo_id": "keras-cv",
"token_count": 1152
} | 9 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/object_detection_3d/voxel_utils.py/0 | {
"file_path": "keras-cv/keras_cv/layers/object_detection_3d/voxel_utils.py",
"repo_id": "keras-cv",
"token_count": 3715
} | 10 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/cut_mix_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/cut_mix_test.py",
"repo_id": "keras-cv",
"token_count": 4731
} | 11 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/posterization_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/posterization_test.py",
"repo_id": "keras-cv",
"token_count": 1586
} | 12 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_color_degeneration.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_color_degeneration.py",
"repo_id": "keras-cv",
"token_count": 1455
} | 13 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_hue.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_hue.py",
"repo_id": "keras-cv",
"token_count": 2117
} | 14 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/repeated_augmentation.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/repeated_augmentation.py",
"repo_id": "keras-cv",
"token_count": 1814
} | 15 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing_3d/input_format_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing_3d/input_format_test.py",
"repo_id": "keras-cv",
"token_count": 1706
} | 16 |
# Copyright 2022 Waymo LLC.
#
# Licensed under the terms in https://github.com/keras-team/keras-cv/blob/master/keras_cv/layers/preprocessing_3d/waymo/LICENSE # noqa: E501
import numpy as np
from keras_cv.layers.preprocessing_3d import base_augmentation_layer_3d
from keras_cv.layers.preprocessing_3d.waymo.global_rand... | keras-cv/keras_cv/layers/preprocessing_3d/waymo/global_random_translation_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing_3d/waymo/global_random_translation_test.py",
"repo_id": "keras-cv",
"token_count": 1138
} | 17 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/regularization/stochastic_depth.py/0 | {
"file_path": "keras-cv/keras_cv/layers/regularization/stochastic_depth.py",
"repo_id": "keras-cv",
"token_count": 1047
} | 18 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/losses/ciou_loss_test.py/0 | {
"file_path": "keras-cv/keras_cv/losses/ciou_loss_test.py",
"repo_id": "keras-cv",
"token_count": 1383
} | 19 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/csp_darknet/csp_darknet_utils.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/csp_darknet/csp_darknet_utils.py",
"repo_id": "keras-cv",
"token_count": 5595
} | 20 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/efficientnet_v1/efficientnet_v1_backbone_presets.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/efficientnet_v1/efficientnet_v1_backbone_presets.py",
"repo_id": "keras-cv",
"token_count": 2340
} | 21 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/mobilenet_v3/mobilenet_v3_aliases.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/mobilenet_v3/mobilenet_v3_aliases.py",
"repo_id": "keras-cv",
"token_count": 1817
} | 22 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/resnet_v2/resnet_v2_backbone_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/resnet_v2/resnet_v2_backbone_test.py",
"repo_id": "keras-cv",
"token_count": 2314
} | 23 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/legacy/darknet.py/0 | {
"file_path": "keras-cv/keras_cv/models/legacy/darknet.py",
"repo_id": "keras-cv",
"token_count": 4843
} | 24 |
# Copyright 2022 The KerasCV Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | keras-cv/keras_cv/models/legacy/vgg19.py/0 | {
"file_path": "keras-cv/keras_cv/models/legacy/vgg19.py",
"repo_id": "keras-cv",
"token_count": 3271
} | 25 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/object_detection/retinanet/retinanet_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/object_detection/retinanet/retinanet_test.py",
"repo_id": "keras-cv",
"token_count": 6368
} | 26 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/object_detection/yolox/layers/yolox_label_encoder_test.py/0 | {
"file_path": "keras-cv/keras_cv/models/object_detection/yolox/layers/yolox_label_encoder_test.py",
"repo_id": "keras-cv",
"token_count": 1321
} | 27 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/segmentation/segment_anything/sam_transformer.py/0 | {
"file_path": "keras-cv/keras_cv/models/segmentation/segment_anything/sam_transformer.py",
"repo_id": "keras-cv",
"token_count": 2563
} | 28 |
# Copyright 2022 The KerasCV Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | keras-cv/keras_cv/models/utils.py/0 | {
"file_path": "keras-cv/keras_cv/models/utils.py",
"repo_id": "keras-cv",
"token_count": 776
} | 29 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/training/contrastive/contrastive_trainer.py/0 | {
"file_path": "keras-cv/keras_cv/training/contrastive/contrastive_trainer.py",
"repo_id": "keras-cv",
"token_count": 4543
} | 30 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/utils/target_gather_test.py/0 | {
"file_path": "keras-cv/keras_cv/utils/target_gather_test.py",
"repo_id": "keras-cv",
"token_count": 2338
} | 31 |
recursive-include keras_cv/custom_ops *.so
| keras-cv/MANIFEST.in/0 | {
"file_path": "keras-cv/MANIFEST.in",
"repo_id": "keras-cv",
"token_count": 15
} | 0 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/benchmarks/vectorized_random_contrast.py/0 | {
"file_path": "keras-cv/benchmarks/vectorized_random_contrast.py",
"repo_id": "keras-cv",
"token_count": 3332
} | 1 |
package(default_visibility = ["//visibility:public"])
cc_library(
name = "tf_header_lib",
hdrs = [":tf_header_include"],
includes = ["include"],
visibility = ["//visibility:public"],
)
cc_library(
name = "libtensorflow_framework",
srcs = ["%{TF_SHARED_LIBRARY_NAME}"],
visibility = ["//vis... | keras-cv/build_deps/tf_dependency/BUILD.tpl/0 | {
"file_path": "keras-cv/build_deps/tf_dependency/BUILD.tpl",
"repo_id": "keras-cv",
"token_count": 163
} | 2 |
{
"deeplabv3": {
"v0": {
"accelerators": 4,
"args": {},
"contributor": "tanzhenyu",
"epochs_trained": 99,
"script": {
"name": "deeplab_v3.py",
"version": "6a518c900b6533939e80e027d38e741a9d01ff48"
},
... | keras-cv/examples/training/semantic_segmentation/pascal_voc/training_history.json/0 | {
"file_path": "keras-cv/examples/training/semantic_segmentation/pascal_voc/training_history.json",
"repo_id": "keras-cv",
"token_count": 393
} | 3 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/bounding_box/converters_test.py/0 | {
"file_path": "keras-cv/keras_cv/bounding_box/converters_test.py",
"repo_id": "keras-cv",
"token_count": 3415
} | 4 |
package(
default_visibility = ["//visibility:public"],
licenses = ["notice"],
)
config_setting(
name = "windows",
constraint_values = ["@bazel_tools//platforms:windows"],
)
cc_library(
name = "box_util",
srcs = ["box_util.cc"],
hdrs = ["box_util.h"],
copts = select({
":windows"... | keras-cv/keras_cv/custom_ops/BUILD/0 | {
"file_path": "keras-cv/keras_cv/custom_ops/BUILD",
"repo_id": "keras-cv",
"token_count": 1165
} | 5 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/datasets/pascal_voc/load.py/0 | {
"file_path": "keras-cv/keras_cv/datasets/pascal_voc/load.py",
"repo_id": "keras-cv",
"token_count": 1463
} | 6 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/keypoint/utils.py/0 | {
"file_path": "keras-cv/keras_cv/keypoint/utils.py",
"repo_id": "keras-cv",
"token_count": 633
} | 7 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/object_detection/box_matcher_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/object_detection/box_matcher_test.py",
"repo_id": "keras-cv",
"token_count": 2226
} | 8 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/base_image_augmentation_layer_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/base_image_augmentation_layer_test.py",
"repo_id": "keras-cv",
"token_count": 4712
} | 9 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/mix_up_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/mix_up_test.py",
"repo_id": "keras-cv",
"token_count": 3151
} | 10 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_channel_shift.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_channel_shift.py",
"repo_id": "keras-cv",
"token_count": 1772
} | 11 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_flip.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_flip.py",
"repo_id": "keras-cv",
"token_count": 4074
} | 12 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/random_translation.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/random_translation.py",
"repo_id": "keras-cv",
"token_count": 5236
} | 13 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/preprocessing/with_segmentation_masks_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing/with_segmentation_masks_test.py",
"repo_id": "keras-cv",
"token_count": 2027
} | 14 |
# Copyright 2022 Waymo LLC.
#
# Licensed under the terms in https://github.com/keras-team/keras-cv/blob/master/keras_cv/layers/preprocessing_3d/waymo/LICENSE # noqa: E501
import numpy as np
from keras_cv.layers.preprocessing_3d import base_augmentation_layer_3d
from keras_cv.layers.preprocessing_3d.waymo.global_rand... | keras-cv/keras_cv/layers/preprocessing_3d/waymo/global_random_rotation_test.py/0 | {
"file_path": "keras-cv/keras_cv/layers/preprocessing_3d/waymo/global_random_rotation_test.py",
"repo_id": "keras-cv",
"token_count": 1281
} | 15 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/layers/regularization/dropblock_2d.py/0 | {
"file_path": "keras-cv/keras_cv/layers/regularization/dropblock_2d.py",
"repo_id": "keras-cv",
"token_count": 4121
} | 16 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/losses/simclr_loss_test.py/0 | {
"file_path": "keras-cv/keras_cv/losses/simclr_loss_test.py",
"repo_id": "keras-cv",
"token_count": 945
} | 17 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/csp_darknet/csp_darknet_backbone.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/csp_darknet/csp_darknet_backbone.py",
"repo_id": "keras-cv",
"token_count": 2771
} | 18 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/mix_transformer/mix_transformer_backbone_presets.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/mix_transformer/mix_transformer_backbone_presets.py",
"repo_id": "keras-cv",
"token_count": 1593
} | 19 |
# Copyright 2023 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/backbones/resnet_v2/resnet_v2_aliases.py/0 | {
"file_path": "keras-cv/keras_cv/models/backbones/resnet_v2/resnet_v2_aliases.py",
"repo_id": "keras-cv",
"token_count": 3105
} | 20 |
# Copyright 2022 The KerasCV Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... | keras-cv/keras_cv/models/legacy/convmixer.py/0 | {
"file_path": "keras-cv/keras_cv/models/legacy/convmixer.py",
"repo_id": "keras-cv",
"token_count": 6519
} | 21 |
# Copyright 2022 The KerasCV Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... | keras-cv/keras_cv/models/legacy/utils.py/0 | {
"file_path": "keras-cv/keras_cv/models/legacy/utils.py",
"repo_id": "keras-cv",
"token_count": 1350
} | 22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.