You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I follow the demo.ipynb in running the `for seed in ["42", "44", "82", "100", "800"]:
model_type = f"adapter_{r}"
files = glob.glob(f"{root}/seed{seed}/*/sup_vitb16_imagenet21k/*/*/{LOG_NAME}")
for f in files:
df = get_df(files, f"seed{seed}", root, is_best=False, is_last=True)
if df is None:
continue
df["seed"] = seed
df_list.append(df)`
There was a error:Traceback (most recent call last): File "/home/isalab303/.conda/envs/vpt/lib/python3.7/code.py", line 90, in runcode exec(code, self.locals) File "<input>", line 4, in <module> File "/home/isalab303/GY/vpt-main/src/utils/vis_utils.py", line 161, in get_df for job_path in tqdm(files, desc=model_type): File "/home/isalab303/GY/vpt-main/src/utils/vis_utils.py", line 120, in get_training_data # "lr": float(lr) * 256 / int(batch_size), TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
So what should be done to fix this problem?
The text was updated successfully, but these errors were encountered:
When I follow the
demo.ipynb
in running the `for seed in ["42", "44", "82", "100", "800"]:model_type = f"adapter_{r}"
There was a error:
Traceback (most recent call last): File "/home/isalab303/.conda/envs/vpt/lib/python3.7/code.py", line 90, in runcode exec(code, self.locals) File "<input>", line 4, in <module> File "/home/isalab303/GY/vpt-main/src/utils/vis_utils.py", line 161, in get_df for job_path in tqdm(files, desc=model_type): File "/home/isalab303/GY/vpt-main/src/utils/vis_utils.py", line 120, in get_training_data # "lr": float(lr) * 256 / int(batch_size), TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
So what should be done to fix this problem?
The text was updated successfully, but these errors were encountered: