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
Thanks for your excellent work!
While trying to build your code, I met following path problem:
In your code there are many dir seetings and synthesisStatistics.picklefile, I wonder how can I get it?
IS_STATS_AVAILABLE = True
train_ROOT_DIR = "/home/yangch/TODAES/data_set/train/" #'/scratch/abc586/OPENABC_DATASET'
valid_ROOT_DIR = "/home/yangch/TODAES/data_set/valid/"
test_ROOT_DIR = "/home/yangch/TODAES/data_set/test/"
csv_DIR = "/home/yangch/TODAES/data_set/"
global DUMP_DIR
DUMP_DIR = "/home/yangch/TODAES/RUN_DIR/delay/" #osp.join('/scratch/abc586/OpenABC-dataset/SynthV9_AND',RUN_DIR)
if not osp.exists(DUMP_DIR):
os.mkdir(DUMP_DIR)
# Load train and test datasets
trainDS = NetlistGraphDataset(root=osp.join(train_ROOT_DIR),csv_DIR=osp.join(csv_DIR),filePath=datasetDict[datasetChoice][0])
validDS = NetlistGraphDataset(root=osp.join(valid_ROOT_DIR),csv_DIR=osp.join(csv_DIR),filePath=datasetDict[datasetChoice][1])
testDS = test_NetlistGraphDataset(root=osp.join(test_ROOT_DIR),csv_DIR=osp.join(csv_DIR),filePath=datasetDict[datasetChoice][2])
#print(trainDS)
if IS_STATS_AVAILABLE:
with open(osp.join(csv_DIR,'synthesisStatistics.pickle'),'rb') as f:
numGatesAndLPStats = pickle.load(f)
else:
print("\nNo pickle file found for number of gates")
exit(0)
I tried to run ./QoR_prediction/area_train.py and set DIR as:
Thanks for your excellent work!
While trying to build your code, I met following path problem:
In your code there are many dir seetings and
synthesisStatistics.pickle
file, I wonder how can I get it?I tried to run ./QoR_prediction/area_train.py and set
DIR
as:How to change it correctly?
The text was updated successfully, but these errors were encountered: