# Problems about Error Run when using wandb.agent

**URL:** <https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718>\
**Category:** W&B Help\
**Tags:** wandb, beginner-friendly\
**Created:** [January 19, 2023, 8:23am UTC](https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718 "2023-01-19T08:23:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangby35](https://avatars.discourse-cdn.com/v4/letter/y/eada6e/32.png) [@yangby35](https://community.wandb.ai/u/yangby35)\
**Post date:** [January 19, 2023, 8:23am UTC](https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718/1 "2023-01-19T08:23:59Z")

</div>

Hello, I have some problems when reproducing the results using code here: [oscarclivio (Oscar Clivio) · GitHub](https://github.com/oscarclivio/) neuralscorematching.  
When I run the file: sweep\_config.py, I get the error like: ERROR Run ur2vuu27 errored: FileNotFoundError(2, ‘No such file or directory’)

 ![problem](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/3/3471020e22eb5bc852365c5bbca143f9f7a2dcd5.png)  
I ran the codes via vscode and using one cloud service autodl considering the hardware of my computer.

---

<div class="post-metadata">

**Author:** ![yangby35](https://avatars.discourse-cdn.com/v4/letter/y/eada6e/32.png) [@yangby35](https://community.wandb.ai/u/yangby35)\
**Post date:** [January 19, 2023, 8:25am UTC](https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718/3 "2023-01-19T08:25:06Z")

</div>

the link is [GitHub - oscarclivio/neuralscorematching](https://github.com/oscarclivio/neuralscorematching).

---

<div class="post-metadata">

**Author:** ![yangby35](https://avatars.discourse-cdn.com/v4/letter/y/eada6e/32.png) [@yangby35](https://community.wandb.ai/u/yangby35)\
**Post date:** [January 19, 2023, 8:48am UTC](https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718/4 "2023-01-19T08:48:20Z")

</div>

I just want to know whether the reason is that these are not in the same folder.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/4/490ddf198a4dd2a5c1155cbbf693bdbf3c9f8cf1.png)

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [January 20, 2023, 10:48am UTC](https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718/5 "2023-01-20T10:48:05Z")

</div>

Hi @yangby35, thanks for reporting this! Could you please share with me the debug files under `wandb/run_date_time-ur2vuu27/logs` and the full trace of the error that raises? As this issue seems to be raising when initializing the run, it could be caused because of a wrong `dir` argument in [this](https://github.com/oscarclivio/neuralscorematching/blob/37f4c5a4480150e6debf1c7f5b0f9f1b9f4d8816/codes/train.py#L192) line, could you please check? Regarding the wandb folder, it’s created when initializing a project and we store there all the files created by the project, but it shouldn’t be affecting the execution.

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [January 25, 2023, 1:42pm UTC](https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718/6 "2023-01-25T13:42:03Z")

</div>

Hi @yangby35, I just wanted to follow up here! Would it be possible for you to share with me the debug files under `wandb/run_date_time-ur2vuu27/logs` and the full trace of the error that raises? As the issue seems to raise when starting the run, it may be caused because of a wrong `dir` argument in [this](https://github.com/oscarclivio/neuralscorematching/blob/37f4c5a4480150e6debf1c7f5b0f9f1b9f4d8816/codes/train.py#L192) line, could you please check? Thanks!

---

<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:** [March 26, 2023, 1:42pm UTC](https://community.wandb.ai/t/problems-about-error-run-when-using-wandb-agent/3718/7 "2023-03-26T13:42:32Z")

</div>

Closed on March 26, 2023, 1:42pm UTC

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