Broken Pipe error

import wandb
import os

os.environ["WANDB_TIMEOUT"] = "300"
os.environ["WANDB_RESUME"] = "allow"


sweep_config = {
    "method": "grid",  # Choose a search strategy (grid, random, etc.)
    "metric": {"name": "accuracy", "goal": "maximize"},
    "parameters": {
        "epochs": {"values": [20, 50, 100]},
        "batch_size": {"values": [32, 64, 128]}
        # Add more parameters to sweep over as needed

wandb.init(project="ufc-project-3-1", entity="thomastshuma43" , config=sweep_config , resume =True)  # Replace with your project and username

sweep_id = wandb.sweep(sweep_config, project="ufc-project-3-1")

I have been working in this code for days now trying to run sweeps but its showing me flames. I am not on a VPN or a Proxy. I have ran this on google collab and locally still the same results.

Hi @thomastshuma43 , please visit this link for an example of how to setup sweeps and re adjust your code above to match the example. It seems you are trying to run both a wandb run and a wandb sweep from the same script. A sweep itself will invoke / spin up new runs based on your sweep configuration. Do let us know if you have any questions after restructuring your code.

Hi @thomastshuma43 , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!