MadryLab / robustness

A library for experimenting with, training and evaluating neural networks, with a focus on adversarial robustness.
MIT License
903 stars 181 forks source link

Inquiry - running tensorboardx on store #103

Closed ahadda5 closed 2 years ago

ahadda5 commented 2 years ago

I'm trying to view the store logs using the recommended command cox I see in the LOGS_SCHEMA the following "filters" epoch, adv_prec1 etc, which i use in the cox command below.

I cannot get cox-tensorboard to work b/c of the error , so i would assume that the filter list is not correct? [ this is based on the "Using robustness as a library" notebook" ]

how to run the command? what are the format-str list?

Thank you!

cox-tensorboard --logdir /tmp/da9d0d8f-5000-4117-8134-9af57029575f/ --format-str jj-{epoch} --filter-param epoch [1-5] --metadata-table metadata

Traceback (most recent call last):
  File "/home/.conda/envs/rob/bin/cox-tensorboard", line 8, in <module>
    sys.exit(main())
  File "/home/.conda/envs/rob/lib/python3.9/site-packages/cox/tensorboard_view.py", line 25, in main
    metadata_df = reader.df(args.metadata_table)
  File "/home/.conda/envs/rob/lib/python3.9/site-packages/cox/readers.py", line 160, in df
    catted = pd.concat(tables)
  File "/home/.conda/envs/rob/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper
    return func(*args, **kwargs)
  File "/home/.conda/envs/rob/lib/python3.9/site-packages/pandas/core/reshape/concat.py", line 294, in concat
    op = _Concatenator(
  File "/home//.conda/envs/rob/lib/python3.9/site-packages/pandas/core/reshape/concat.py", line 351, in __init__
    raise ValueError("No objects to concatenate")
ahadda5 commented 2 years ago

Can be closed. Used tensorboard directly on the store , skipped cox for now.