# NotFoundError() in Sweep after 1 epoch

**URL:** <https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205>\
**Category:** W&B Help\
**Tags:** sweeps, wandb\
**Created:** [April 11, 2023, 12:11pm UTC](https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205 "2023-04-11T12:11:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![finnkap](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@finnkap](https://community.wandb.ai/u/finnkap)\
**Post date:** [April 11, 2023, 12:11pm UTC](https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205/1 "2023-04-11T12:11:45Z")

</div>

Hey there,  
I am currently trying to run a sweep for my model. Every time, after the first epoch has finished training, I get the following output:

```auto
wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing.
wandb: Synced rich-sweep-1: https://wandb.ai/prosit-compms/intensity_normalization_optimization/runs/axdt1t4l
wandb: Synced 6 W&B file(s), 1 media file(s), 0 artifact file(s) and 0 other file(s)
wandb: Find logs at: ./wandb/run-20230411_132216-axdt1t4l/logs
Run axdt1t4l errored: NotFoundError()
wandb: ERROR Run axdt1t4l errored: NotFoundError()

```

Soon after this, a new Agent starts and the same error appears after 1 epoch.  
Does anyone have an idea what might be causing this error.

The Sweep and the run is visible in the wandb UI.

It would be a great help to me if anyone has a suggestion on how to resolve this issue.

Using wandb version: 0.14.2  
python version: 3.9.15

The Debug file: [debug.log](https://drive.google.com/file/d/1_7ZYlrGKnMBrIgcoO6eO68r4O6PE_gMu/view?usp=sharing)  
The internal debug file: [debug-internal.log](https://drive.google.com/file/d/1gSzLi-ytrlh7if9Ov86FcGczhlzEtIWI/view?usp=sharing)  
Thank you!

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [April 12, 2023, 11:56am UTC](https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205/2 "2023-04-12T11:56:48Z")

</div>

Hi @finnkap sorry to hear you’re experiencing this issue. The run seems to have been deleted since you reported the issue, may I please ask if you had interrupted the process by pressing Ctr+C? Could you run the agent again from the CLI as follows: `wandb agent entity/project/sweep-id` or from the Python SDK with` wandb.agent()` call and let us know if the problem persists for you?

---

<div class="post-metadata">

**Author:** ![finnkap](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@finnkap](https://community.wandb.ai/u/finnkap)\
**Post date:** [April 13, 2023, 9:50am UTC](https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205/3 "2023-04-13T09:50:21Z")

</div>

Hey, thanks for the reply. I restarted the agent from the Python SDK and the problem unfortunately perists. Each time I start an agent, wandb starts the number of specified runs. and each run is only one epoch before it throws the error. I did not interrupt the process by ctr+C.

Here are the debug files for one run of the sweep: prosit-compms/intensity\_normalization\_optimization/bljppe0j

[debug.log](https://drive.google.com/file/d/1Xmxh0OKCAoDaik_s4zGinojm-yJCxDB4/view?usp=sharing)  
[debug-internal.log](https://drive.google.com/file/d/1fKD24iuAAPISPoVRCtL2eA2y-_4L46_f/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![finnkap](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@finnkap](https://community.wandb.ai/u/finnkap)\
**Post date:** [April 13, 2023, 1:14pm UTC](https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205/4 "2023-04-13T13:14:59Z")

</div>

Hello there,

the issue has been resolved, it was not an error of wandb but because a folder in the directory was missing.

---

<div class="post-metadata">

**Author:** ![thanos-wandb](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@thanos-wandb](https://community.wandb.ai/u/thanos-wandb)\
**Post date:** [April 18, 2023, 7:25pm UTC](https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205/5 "2023-04-18T19:25:00Z")

</div>

Hi @finnkap that’s great to hear you got this resolved, thanks for letting us know. I will close this ticket for now, and please feel free to reach out to us again if you have any other questions or issues.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [June 17, 2023, 7:25pm UTC](https://community.wandb.ai/t/notfounderror-in-sweep-after-1-epoch/4205/6 "2023-06-17T19:25:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
