wandb

How do I print the wandb sweep url in python?

How do I print the wandb sweep url in python? Question: For runs I do: wandb.run.get_url() how do I do the same but for sweeps given the sweep_id? fulls sample run: """ Main Idea: – create sweep with a sweep config & get sweep_id for the agents (note, this creates a sweep in wandb’s website) …

Total answers: 1

HuggingFace Trainer() cannot report to wandb

HuggingFace Trainer() cannot report to wandb Question: I am trying to set trainer with arguments report_to to wandb, refer to this docs with config: training_args = TrainingArguments( output_dir="test_trainer", evaluation_strategy="steps", learning_rate=config.learning_rate, num_train_epochs=config.epochs, weight_decay=config.weight_decay, logging_dir=config.logging_dir, report_to="wandb", save_total_limit=1, per_device_train_batch_size=config.batch_size, per_device_eval_batch_size=config.batch_size, fp16=True, load_best_model_at_end=True, seed=42 ) yet when I set trainer with: trainer = Trainer( model=model, args=training_args, train_dataset=train_dataset, eval_dataset=eval_dataset, compute_metrics=compute_metrics …

Total answers: 1

How to prevent Weights & Biases from saving unnecessary parameters

How to prevent Weights & Biases from saving unnecessary parameters Question: I am using Weights & Biases (link) to manage hyperparameter optimization and log the results. I am training using Keras with a Tensorflow backend, and I am using the out-of-the-box logging functionality of Weights & Biases, in which I run wandb.init(project=’project_name’, entity=’username’, config=config) and …

Total answers: 1

Weights&Biases Sweep Keras K-Fold Validation

Weights&Biases Sweep Keras K-Fold Validation Question: I’m using Weights&Biases Cloud-based sweeps with Keras. So first i create a new Sweep within a W&B Project with a config like following: description: LSTM Model method: random metric: goal: maximize name: val_accuracy name: LSTM-Sweep parameters: batch_size: distribution: int_uniform max: 128 min: 32 epochs: distribution: constant value: 200 node_size1: …

Total answers: 1