
     h                     $    d dl mZ d dlmZ ddZy)   )LinearPts3d)create_dpt_headc                 ~    | dk(  r|dk(  rt        ||      S | dk(  r|dk(  rt        ||      S t        d| d|      )z/" build a prediction head for the decoder 
    linearpts3ddpt)has_confzunexpected head_type=z and output_mode=)r   r   NotImplementedError)	head_typeoutput_modenetr	   s       C/home/cameronsmith/repos/controll3r/dust3r/dust3r/heads/__init__.pyhead_factoryr      sV     H!73))	e	w 6sX66!$:	|;M"OPP    N)F)linear_headr   dpt_headr   r    r   r   <module>r      s    % %Qr   