Spaces:
Sleeping
Sleeping
bkb2135
commited on
Commit
·
511ed4b
1
Parent(s):
0dab7f8
Use Opentensor Username
Browse files
utils.py
CHANGED
@@ -22,7 +22,7 @@ KEYS = ['_step','_timestamp','task','query','reference','challenge','topic','sub
|
|
22 |
ABBREV_CHARS = 8
|
23 |
ENTITY_CHOICES = ('identity', 'hotkey', 'coldkey')
|
24 |
LOCAL_WANDB_PATH = './data/wandb'
|
25 |
-
USERNAME = '
|
26 |
|
27 |
# Initialize wandb with anonymous login
|
28 |
wandb.login(anonymous='must')
|
@@ -382,8 +382,8 @@ def load_state_vars(username=USERNAME, percentile=0.95):
|
|
382 |
# df_runs = df_runs.loc[df_runs.netuid.isin([1,61,102])] # Now we filter for the netuid tag in build_data
|
383 |
st.toast(f'Loaded {len(df_runs)} runs')
|
384 |
|
385 |
-
|
386 |
-
df_vali = df_runs
|
387 |
|
388 |
download_runs(time.time()//UPDATE_INTERVAL, df_vali)
|
389 |
|
|
|
22 |
ABBREV_CHARS = 8
|
23 |
ENTITY_CHOICES = ('identity', 'hotkey', 'coldkey')
|
24 |
LOCAL_WANDB_PATH = './data/wandb'
|
25 |
+
USERNAME = 'Opentensor'
|
26 |
|
27 |
# Initialize wandb with anonymous login
|
28 |
wandb.login(anonymous='must')
|
|
|
382 |
# df_runs = df_runs.loc[df_runs.netuid.isin([1,61,102])] # Now we filter for the netuid tag in build_data
|
383 |
st.toast(f'Loaded {len(df_runs)} runs')
|
384 |
|
385 |
+
df_vali = df_runs.loc[df_runs.username == username]
|
386 |
+
# df_vali = df_runs
|
387 |
|
388 |
download_runs(time.time()//UPDATE_INTERVAL, df_vali)
|
389 |
|