\documentclass[pmlr]{jmlr}

\makeatletter
\def\set@curr@file#1{\def\@curr@file{#1}}
\makeatother

\begin{document}

\begin{figure}[!t]
\includegraphics[width=1\textwidth]{myimage.png}
\end{figure}

\end{document}
