Skip to content

Commit

Permalink
Merge branch 'release/1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
tenkeyless committed Dec 19, 2024
2 parents 19de38a + 3e1e631 commit a7686cb
Show file tree
Hide file tree
Showing 36 changed files with 3,040 additions and 1,993 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ type: docs
{{< card link="https://colab.research.google.com/github/keras-team/keras-io/blob/master/examples/generative/ipynb/deep_dream.ipynb" title="Colab" tag="Colab" tagType="warning">}}
{{< card link="https://github.com/keras-team/keras-io/blob/master/examples/generative/deep_dream.py" title="GitHub" tag="GitHub">}}
{{< /cards >}}
ⓘ This example uses Keras 3

## Introduction

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ for i, caption in enumerate(all_captions):
tokenized_texts[i] = process_text(caption)
```

## Prepare a [`tf.data.Dataset`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset)
## Prepare a [`tf.data.Dataset`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) {#tfdatadataset}

In this section, we'll prepare a [`tf.data.Dataset`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) object from the input image file paths and their corresponding caption tokens. The section will include the following:

Expand Down
4 changes: 2 additions & 2 deletions content/english/docs/examples/generative/wgan_gp/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ type: docs
{{< keras/original checkedAt="2024-11-23" >}}

**{{< t f_author >}}** [A_K_Nain](https://twitter.com/A_K_Nain)
**{{< t f_date_created >}}** 2020/05/9
**{{< t f_last_modified >}}** 2023/08/3
**{{< t f_date_created >}}** 2020/05/09
**{{< t f_last_modified >}}** 2023/08/03
**{{< t f_description >}}** Implementation of Wasserstein GAN with Gradient Penalty.

{{< keras/version v=3 >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ type: docs
{{< card link="https://github.com/keras-team/keras-io/blob/master/examples/nlp/text_classification_from_scratch.py" title="GitHub" tag="GitHub">}}
{{< /cards >}}

ⓘ This example uses Keras 3

## Introduction

This example shows how to do text classification starting from raw text (as a set of text files on disk). We demonstrate the workflow on the IMDB sentiment classification dataset (unprocessed version). We use the `TextVectorization` layer for word splitting & indexing.
Expand Down
4 changes: 2 additions & 2 deletions content/korean/docs/api/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Keras 3 API documentation
linkTitle: Keras 3 API documentation
title: Keras 3 API 문서
linkTitle: Keras 3 API 문서
toc: true
weight: 5
---
Expand Down
33 changes: 18 additions & 15 deletions content/korean/docs/examples/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ weight: 6

{{< keras/original checkedAt="2024-11-26" >}}

Our code examples are short (less than 300 lines of code), focused demonstrations of vertical deep learning workflows.
우리의 코드 예제는 300줄 미만의 짧은 코드이며, 수직적 딥러닝 워크플로우에 대한 집중적인 데모입니다.

All of our examples are written as Jupyter notebooks and can be run in one click in [Google Colab](https://colab.research.google.com/notebooks/welcome.ipynb),
a hosted notebook environment that requires no setup and runs in the cloud. Google Colab includes GPU and TPU runtimes.
모든 예제는 Jupyter 노트북으로 작성되었으며, 별도의 설정이 필요 없고
클라우드에서 실행되는 호스팅 노트북 환경인 [Google Colab](https://colab.research.google.com/notebooks/welcome.ipynb)에서 클릭 한 번으로 실행할 수 있습니다.
Google Colab에는 GPU 및 TPU 런타임이 포함되어 있습니다.

## [컴퓨터 비전]({{< relref "/docs/examples/vision/" >}}) {#computer-vision}

Expand Down Expand Up @@ -719,21 +720,23 @@ a hosted notebook environment that requires no setup and runs in the cloud. Goog
| | {{< hextra/hero-button text="V2" style="background: rgb(255 237 183); color: black; pointer-events: none; padding: 0.1em 1em;" >}} | {{< titledRelref "/docs/examples/keras_recipes/bayesian_neural_networks" >}} | 2021/01/15 | 2021/01/15 |
| | {{< hextra/hero-button text="V2" style="background: rgb(255 237 183); color: black; pointer-events: none; padding: 0.1em 1em;" >}} | {{< titledRelref "/docs/examples/keras_recipes/tfrecord" >}} | 2020/07/29 | 2020/08/07 |

## Adding a new code example {#adding-a-new-code-example}
## 모든 컨텐츠

We welcome new code examples! Here are our rules:
{{< default-section-cards-list-recursive >}}

- They should be shorter than 300 lines of code (comments may be as long as you want).
- They should demonstrate modern Keras best practices.
- They should be substantially different in topic from all examples listed above.
- They should be extensively documented & commented.
## 새 코드 예제 추가하기 {#adding-a-new-code-example}

New examples are added via Pull Requests to the [keras.io repository](https://github.com/keras-team/keras-io).
They must be submitted as a `.py` file that follows a specific format. They are usually generated from Jupyter notebooks.
See the [`tutobooks` documentation](https://github.com/keras-team/keras-io/blob/master/README.md) for more details.
우리는 새로운 코드 예제를 환영합니다! 규칙은 다음과 같습니다:

If you would like to convert a Keras 2 example to Keras 3, please open a Pull Request to the [keras.io repository](https://github.com/keras-team/keras-io).
- 코드 길이가 300줄 미만이어야 합니다. (주석은 원하는 만큼 길어도 됩니다)
- 최신 Keras 모범 사례를 보여줄 수 있어야 합니다.
- 위에 나열된 모든 예제와는 주제가 상당히 달라야 합니다.
- 광범위하게 문서화되고 주석을 달아야 합니다.

## 모든 컨텐츠
새로운 예제는 Pull 리퀘스트를 통해 [keras.io 리포지토리](https://github.com/keras-team/keras-io)에 추가됩니다.
예제는 특정 형식을 따르는 `.py` 파일로 제출해야 합니다.
예제는 보통 Jupyter 노트북에서 생성됩니다.
자세한 내용은 [`tutobooks` 문서](https://github.com/keras-team/keras-io/blob/master/README.md)를 참조하세요.

{{< default-section-cards-list-recursive >}}
Keras 2 예제를 Keras 3으로 변환하려면,
[keras.io 리포지토리](https://github.com/keras-team/keras-io)에 Pull 리퀘스트를 열어주세요.Ø
Loading

0 comments on commit a7686cb

Please sign in to comment.