import glob
import sys
import os

pickles = glob.glob(sys.path[0][0:-7]+'/fake_torch_dir/modelss/*')
for pickle in pickles:
    try:
        print(str(int((pickle.split(os.path.sep)[-1]).split('.')[0])))
        os.rename(pickle,("NATS-Bench1/fake_torch_dir/modelss/"+str(int((pickle.split(os.path.sep)[-1]).split('.')[0]))+".pickle.pbz2"))
    except:
        print("skipping")

5f86a10875e27b88e6f6c185b9b70daa22e77ca6
<mask token>

<mask token>
for pickle in pickles:
    try:
        print(str(int(pickle.split(os.path.sep)[-1].split('.')[0])))
        os.rename(pickle, 'NATS-Bench1/fake_torch_dir/modelss/' + str(int(
            pickle.split(os.path.sep)[-1].split('.')[0])) + '.pickle.pbz2')
    except:
        print('skipping')

<mask token>
pickles = glob.glob(sys.path[0][0:-7] + '/fake_torch_dir/modelss/*')
for pickle in pickles:
    try:
        print(str(int(pickle.split(os.path.sep)[-1].split('.')[0])))
        os.rename(pickle, 'NATS-Bench1/fake_torch_dir/modelss/' + str(int(
            pickle.split(os.path.sep)[-1].split('.')[0])) + '.pickle.pbz2')
    except:
        print('skipping')

import glob
import sys
import os
pickles = glob.glob(sys.path[0][0:-7] + '/fake_torch_dir/modelss/*')
for pickle in pickles:
    try:
        print(str(int(pickle.split(os.path.sep)[-1].split('.')[0])))
        os.rename(pickle, 'NATS-Bench1/fake_torch_dir/modelss/' + str(int(
            pickle.split(os.path.sep)[-1].split('.')[0])) + '.pickle.pbz2')
    except:
        print('skipping')

import glob
import sys
import os

pickles = glob.glob(sys.path[0][0:-7]+'/fake_torch_dir/modelss/*')
for pickle in pickles:
    try:
        print(str(int((pickle.split(os.path.sep)[-1]).split('.')[0])))
        os.rename(pickle,("NATS-Bench1/fake_torch_dir/modelss/"+str(int((pickle.split(os.path.sep)[-1]).split('.')[0]))+".pickle.pbz2"))
    except:
        print("skipping")
