たとえば、バッチごとにトレーニング精度を、エポックごとに検証精度をログしたいとします。 はい。メトリクスとあわせて、Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-john-wbdocs-2044-rename-serverless-products.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
batch や epoch のようなインデックスもログしてください。1つの step では wandb.Run.log()({'train_accuracy': 0.9, 'batch': 200}) を使用し、別の step では wandb.Run.log()({'val_accuracy': 0.8, 'epoch': 4}) を使用します。UI で、各チャートの x-axis に使用したい値を設定します。特定のインデックスのデフォルトの x-axis を設定するには、Run.define_metric() を使用します。この例では、次のコードを使用します。
Experiments メトリクス