<commit_before>__author__ = 'manabchetia'

from os import listdir
from os.path import join


# MINC_DIR = '/srv/datasets/Materials/OpenSurfaces'
MINC_DIR = '/Users/manabchetia/Documents/PyCharm/MaterialRecognition/data/MINC'
CATEGORIES_FILE = join(MINC_DIR, 'minc', 'categories.txt')
PATCH_DIR = join(MINC_DIR, 'patch')
TRAIN_BAL_DIR = join(PATCH_DIR, 'train_balance')
TEST_DIR = join(PATCH_DIR, 'test')
VAL_DIR = join(PATCH_DIR, 'val')
CATEGORIES = [line.strip() for line in open(CATEGORIES_FILE)]<commit_msg>script to train, test, val.txt added<commit_after>__author__ = 'manabchetia'

from os import listdir
from os.path import join

MINC_DIR = '/srv/datasets/Materials/OpenSurfaces'
# MINC_DIR = '/Users/manabchetia/Documents/PyCharm/MaterialRecognition/data/MINC'
CATEGORIES_FILE = join(MINC_DIR, 'minc', 'categories.txt')
PATCH_DIR = join(MINC_DIR, 'patch')
TRAIN_BAL_DIR = join(PATCH_DIR, 'train_balance')
TEST_DIR = join(PATCH_DIR, 'test')
VAL_DIR = join(PATCH_DIR, 'val')
CATEGORIES = [line.strip() for line in open(CATEGORIES_FILE)]
{'fraction_non_alphanumeric': 0.13147792706333974, 'fraction_numerical': 0.0, 'mean_word_length': 7.023076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '671906', 'n_tokens_mistral': 415, 'n_tokens_neox': 405, 'n_words': 76}