Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjanasrivastava committed Jul 26, 2023
1 parent 36899c2 commit 961df34
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bddl/data_generation/process_prop_param_annots.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import pandas as pd
import pathlib

# from bddl.generated_data import particle_params

OBJECT_INSTANCE_RE = r"[A-Za-z-_]+\.n\.[0-9]+_[0-9]+"
OBJECT_CAT_RE = r"[A-Za-z-_]+\.n\.[0-9]+$"
Expand All @@ -17,7 +16,6 @@
PARAMS_OUTFILE_FN = pathlib.Path(__file__).parents[1] / "generated_data" / "propagated_annots_params.json"
REMOVER_SYNSET_MAPPING = pathlib.Path(__file__).parents[1] / "generated_data" / "remover_synset_mapping.json"
LEAF_SYNSETS_FILE = pathlib.Path(__file__).parents[1] / "generated_data" / "synsets.csv"
# OUTPUT_HIERARCHY_PROPERTIES = pathlib.Path(__file__).parents[1] / "generated_data" / "output_hierarchy_properties.json"

# Helpers
LEAF_SYNSETS_SET = set(pd.read_csv(LEAF_SYNSETS_FILE)["synset"])
Expand Down Expand Up @@ -113,8 +111,6 @@ def get_synsets_to_particle_remover_params():
# Main parameter method

def create_get_save_propagated_annots_params(syns_to_props):
# with open(SYNS_TO_PROPS, "r") as f:
# syns_to_props = json.load(f)

synsets_to_particleremover_params = get_synsets_to_particle_remover_params()
for particleremover_syn, particleremover_params in synsets_to_particleremover_params.items():
Expand Down

0 comments on commit 961df34

Please sign in to comment.