add_action( 'widgets_init', __NAMESPACE__ . '\\wpb_load_widget' ); is correct, you’re passing the namespace.
class my_widget extends \WP_Widget is correct, you need to make sure PHP is looking for WP_Widget in the global namespace.
register_widget( 'my_widget' ); missing namespace