Skip to content

Commit

Permalink
don't predict emiss/freq
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Jan 18, 2022
1 parent f93f404 commit cf67848
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/data.py
Expand Up @@ -88,11 +88,6 @@ def get_data(use_cache: bool = True) -> Tuple[LaserParams, Emiss]:
params = [
entry["laser_scanning_speed_x_dir_mm_per_s"],
entry["laser_scanning_line_spacing_y_dir_micron"],
# TODO these should be computed by the model doing actual averaging, not direct prediction
entry["emissivity_averaged_over_frequency"],
# XXX laser_rep_rate and wavelength_nm are all the same
# float(entry["laser_repetition_rate_kHz"]),
# float(entry["laser_wavelength_nm"]),
*F.one_hot(
torch.tensor(wattage_idxs[round(entry["laser_power_W"], 1)]),
num_classes=len(wattage_idxs),
Expand Down

0 comments on commit cf67848

Please sign in to comment.