`TypeError: bad argument type for built-in operation` when Syncing TensorBaord log to wandb

I am trying to follow the steps here to sync a previously trained TensorBoard log to wandb but I am getting this error:

$ wandb sync <path>
Find logs at: /tmp/debug-cli.melhoushi.log
Found 6 tfevent files in <path>
Exception in thread Thread-1:
Traceback (most recent call last):
  File "<env_path>/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/private/home/melhoushi/.local/lib/python3.9/site-packages/wandb/sync/sync.py", line 264, in run
    self._send_tensorboard(tb_root, tb_logdirs, sm)
  File "/private/home/melhoushi/.local/lib/python3.9/site-packages/wandb/sync/sync.py", line 145, in _send_tensorboard
    proto_run.entity = self._entity
TypeError: bad argument type for built-in operation

Hi @melhoushi ,

Thank you for reaching out for support. I’ll be glad to assist you with your concern. I appreciate you for providing a code snippet and traceback. Can you also provide the following for too please:

  • WandB Version that you are using
  • debug.log and debig-internal.log. These files are under your local folder wandb/run-<date>_<time>-<run-id>/logs in the same directory where you’re running your code.
  • are you willing to provide the tfevents file and send it to our support email support@wandb.com. So that we can try to reattempt and reproduce the issue on our end using your file.

Regards,
Carlo Argel

Hi @melhoushi

I just want to follow up if you still need more assistance.

Regards,
Carlo Argel

Thanks Carlo for following up. It will take me a while to create a standalone experiment that doesn’t log my company’s internal data.

Hi @melhoushi,

Gotcha! We’ll standby for this one.

Regards,
Carlo Argel

Hi @melhoushi ,

Reaching back from the support team, I just want to follow up if you’re still running into the issue? If so we can continue talking about this on our email support@wandb.com and I’ll closed this ticket.

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