keras-team / keras-io

Keras documentation, hosted live at keras.io
Apache License 2.0
2.73k stars 2.03k forks source link

Incorrect Links for Keras CV #1892

Closed trflorian closed 2 weeks ago

trflorian commented 1 month ago

Issue Type

Documentation Bug

Source

source

Keras Version

Keras 3

Custom Code

No

OS Platform and Distribution

No response

Python version

No response

GPU model and memory

No response

Current Behavior?

All of the KerasCV links I tested on the keras.io website to the source code on the website are broken

On any keras-cv site of the keras.io website (e.g. https://keras.io/api/keras_cv/layers/augmentation/auto_contrast/) When you click on the [source] on the top right, it will redirect you to the specific file in the keras_cv repo on github

https://github.com/keras-team/keras-cv/tree/v0.9.0/keras_cv/layers/preprocessing/auto_contrast.py#L24

However, this is an old link and results in a 404, the keraas_cv code has moved to a src/ directory. The correct link should be

https://github.com/keras-team/keras-cv/blob/v0.9.0/keras_cv/src/layers/preprocessing/auto_contrast.py#L24

Standalone code to reproduce the issue or tutorial link

https://keras.io/api/keras_cv/layers/augmentation/auto_contrast/

Relevant log output

No response

sachinprasadhs commented 1 month ago

Thanks for reporting the issue, it has been fixed in the commit here https://github.com/keras-team/keras-io/commit/22063cc30310f6bb409a7ca6ed410d08007a9f92

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.

github-actions[bot] commented 2 weeks ago

Are you satisfied with the resolution of your issue? Yes No