Try to lift the door and see if you can slip the wheel back into the track. You may need to remove, then re-install, the guide on the floor between the two doors. Usually has a phillips head screw, but may be different.
If you have to take out the guide, swing the door towards you or back into the closet (depends on which door it is) and slip the wheels back into the track.
Good luck