• WWW.ALJAZEERA.NET
    الانفتاح والتجارة والأرباح.. تركيا تؤكد استمرار توسعها بأفريقيا
    الانفتاح والتجارة والأرباح.. تركيا تؤكد استمرار توسعها بأفريقيامقر وزارة الخارجية التركية في أنقرة (الأناضول)14/4/2025أكدت تركيا أن تعاونها مع قارة أفريقيا سيستمر في التوسع خلال الفترة المقبلة عبر تنفيذ مشاريع متعددة تصب في مصلحة الشعوب. جاء ذلك في بيان صدر السبت عن وزارة الخارجية بمناسبة مرور 20 عاما من حصول تركيا على صفة مراقب دائم لدى الاتحاد الأفريقي في 12 أبريل/نيسان 2008. وقال البيان إن أنقرة تؤكد التزامها بعلاقات تقوم على الاحترام المتبادل، والشراكة العادلة، ومبدأ الربح المشترك، مع القارة بأكملها وجميع الدول الأفريقية. وأشار البيان إلى أن القمة الرابعة المشتركة المقررة في 2026 ستوفر فرصة لتعزيز علاقات أكثر بين الجانبين. الانفتاح على أفريقيا وقد عملت تركيا على تعزيز وجودها في القارة السمراء منذ عقدين من الزمن من خلال توسيع العلاقات، وزيادة الحضور الدبلوماسي، حتى باتت تحتل المركز الرابع من بين الدول الأكثر تمثيلا في القارة الأفريقية، بعد الولايات المتحدة والصين وفرنسا. ووفقا لبيانات وزارة الخارجية التركية، فقد قفز عدد السفارات التركية في أفريقيا من 12 سفارة عام 2002 إلى 44 سفارة وقنصلية في سنة 2022، كما ارتفعت السفارات والتمثيليات الدبلوماسية الأفريقية المعتمدة في تركيا من 10 سفارات في عام 2008 إلى 38 سفارة في 2023. إعلان ويرجع الاهتمام التركي بقارة أفريقيا إلى عام 2005 حيث حصلت أنقرة على صفة مراقب دائم لدى الاتحاد الأفريقي، وأعلنت إستراتيجية جديدة عنوانها "الانفتاح على أفريقيا". وسعيا لتنفيذ تلك الإستراتيجية والرؤية التوسعية، كثّف المسؤولون ورجال الأعمال الأتراك زياراتهم إلى القارة لعقد الصفقات التجارية والاقتصادية. وفي الفترة الممتدة بين عامي 2008 و2023 زار الرئيس التركي 31 دولة أفريقية ووجه بوصلة الاستثمار نحو المنطقة. تبادل تجاري موسع تمتلك القارة الأفريقية أسواقا استهلاكية ضخمة وجاذبة للمستثمرين، إذ يقطنها ما يربو على 1.3 مليار إنسان، كما أنها تعاني من انعدام الشركات المحلية القادرة على الصناعات والصناعات التحويلية. وبالإضافة إلى مقومات الأسواق الاستهلاكية، فإن القارة الأفريقية -وفقا لتقديرات اقتصادية- تمتلك حوالي 65% من الموارد العالمية التي لم يتم العمل على استغلالها. وفي ظل هذه المعطيات، عملت أنقرة في العقدين الماضيين على توجيه الاستثمارات نحو الدول الأفريقية، وانتقل حجم التبادل التجاري بين تركيا وحلفائها الأفارقة من حوالي 3 مليارات دولار سنة 2003 إلى 35 مليار دولار عام 2023. وخلال القمة الثالثة من منتدى الاقتصاد والأعمال التركي الأفريقي، قال الرئيس أردوغان إنه يتطلع إلى زيادة في حجم التبادل التجاري مع القارة الأفريقية ليصل في مرحلته النهائية إلى 75 مليار دولار أميركي. وقد ارتفع حجم المشاريع التي قامت بها شركات المقاولات التركية في عموم أفريقيا إلى 71.1 مليار دولار سنة 2021، وتختص دول أفريقيا جنوب الصحراء بنحو 19.5 مليار دولار من هذه المقاولات والأعمال. صفقات الأسلحة وفي سياق السعي لتمتين العلاقات وتنويعها، سعت أنقرة إلى الدخول في صفقات عسكرية مع العديد من الحكومة الأفريقية. وتمتلك تركيا 37 مكتبا عسكريا في عموم أفريقيا، وفي عام 2021 ارتفعت مبيعاتها العسكرية من 41 مليون دولار إلى 328 مليون دولار. إعلان وقد أسهمت في دعم الجيش الصومالي وبنت له مركزا للتدريب والتطوير، وقدمت له كثيرا من الأسلحة، كما قامت بالشيء ذاته مع إثيوبيا. وبعدما تراجع النفوذ الفرنسي في غرب أفريقيا وخاصة في منطقة الساحل، دخلت تركيا في علاقات واسعة مع بوركينافاسو ومالي والنيجر، وأبرمت صفقات سلاح مع الحكومات العسكرية وباتت تصدر للمنطقة طائرات بيرقدار المسيرة والعديد من الأسلحة. المصدر : الجزيرة + الأناضول
    0 Comentários 0 Compartilhamentos 111 Visualizações
  • WWW.EMARATALYOUM.COM
    الذهب يتراجع بعد ارتفاع قياسي
     تراجعت أسعار الذهب، اليوم، بعد أن بلغت ارتفاعا قياسيا في وقت سابق من الجلسة مع انحسار التوترات التجارية بعد أن أعلن الرئيس الأميركي دونالد ترامب استثناء الهواتف الذكية وأجهزة الحاسب الآلي من الرسوم الجمركية الأميركية المضادة. وبحلول الساعة 03:29 بتوقيت جرينتش، نزل الذهب في المعاملات الفورية 0.1 بالمئة إلى 3232.45 دولار للأوقية (الأونصة)، وبلغ الذهب ارتفاعا قياسيا عند 3245.42 دولار للأوقية في وقت سابق اليوم. وزادت العقود الأميركية الآجلة للذهب 0.1 بالمئة إلى 3248.20 دولار للأوقية. وساهم انخفاض الدولار في دعم الذهب، لكن أنباء استثناء سلع تكنولوجية من الرسوم الجمركية رفعت شهية المخاطرة وتسببت في تراجع الطلب على الملاذات الآمنة.  وقال تيم ووترر، كبير محللي السوق في شركة كيه.سي.إم تريد: "أدى هذا إلى افتقار الذهب إلى اتجاه واضح". وأعلن البيت الأبيض يوم الجمعة عن استثناءات من الرسوم الجمركية المضادة الباهظة، إلا أن ترامب شدد، أمس الأحد، على رسالة إدارته الأخيرة بأن استثناء الهواتف الذكية وأجهزة الكمبيوتر من الرسوم الجمركية المتبادلة على الصين سيكون قصير الأمد. وقال ووترر: "الدراما التجارية والتعريفات الجمركية المستمرة خلقت مستويات أعلى من التقلب والضبابية في الأسواق المالية، وفي مثل هذه البيئة قد يتجه سعر الذهب نحو 3300 دولار في الأمد القريب إذا استمر ضعف الدولار". وعادة ما يُنظر إلى الذهب الذي لا يدر عائدا على أنه وسيلة للتحوط في حالات الضبابية الاقتصادية والتضخم. قفزت أسعار الذهب، يوم الجمعة، فوق مستوى 3200 دولار للأوقية للمرة الأولى مع تصاعد التوترات التجارية بين الولايات المتحدة والصين مما أدى إلى اضطراب الأسواق العالمية. ورفع جولدمان ساكس توقعاته لسعر الذهب بنهاية عام 2025 إلى 3700 دولار للأوقية من 3300 دولار، مشيرا إلى طلب أقوى من المتوقع من البنوك المركزية وتعزيز تدفقات صناديق الاستثمار المتداولة. وبالنسبة للمعادن النفيسة الأخرى، نزلت الفضة في المعاملات الفورية بأكثر من واحد بالمئة إلى 31.91 دولار للأوقية. وزاد البلاتين 0.6 بالمئة إلى 948.45 دولار للأوقية. وارتفع البلاديوم 0.8 بالمئة إلى 922.98 دولار للأوقية.
    0 Comentários 0 Compartilhamentos 110 Visualizações
  • GAMERANT.COM
    Best Action-Adventure Games On Xbox Series X/S, Ranked
    The action-adventure genre encompasses a lot of sub-genres within it. These games can have RPG elements, crafting, puzzles, platforming, and more. They can be linear or set in open-world environments. While the Xbox Series X/S is not a platform known for action-adventure series like PlayStation’s Uncharted or Nintendo’s The Legend of Zelda, there are some fun ones worth noting from first-party and third-party developers.
    0 Comentários 0 Compartilhamentos 99 Visualizações
  • BLOG.PLAYSTATION.COM
    (For Southeast Asia) Marathon developer interview: Bungie shares more on its extraction FPS action
    This weekend Bungie revealed Marathon’s sci-fi-fueled gameplay to the world. The studio, celebrated for its sublime first-person gunplay and ever-expanding gameplay, is venturing into the extraction-shooter genre when the game launches on September 24. The Marathon premise is simple and enticing: load up your Runner with valuable gear, compete with other players to secure more loot, and risk it all trying to extract with all the goods.  I had the opportunity to catch up with Marathon Game Director Joe Ziegler hot off the heels of this reveal, diving deeper into the details around Bungie’s next game. We cover lots of ground, including Bungie’s approach to a new genre, tapping into the power of PS5, the game’s bold art style, and more. Play Video Tim Turi: Congratulations on the big gameplay reveal! How are you and the team feeling following the event? Joe Ziegler: It’s pretty exciting. The term I’ve been using a lot is “nerve-cited.” It’s a labor of love we’ve been working on for a few years now, and that definitely comes with the passion that we’ve poured into it, iterating with our audiences, and this desire to produce something amazing to play and to see.  Having it touch real players’ hands for the first time is thrilling, because we do this to excite and entertain them in amazing ways, but also nerve wracking. You know, you question a lot of decisions you made. You’re really hoping that all the things that you’ve thought of are really what players care about. And we feel like we’re there, but we’re really excited to see what players have to say. During the development of Marathon, were there specific moments or experiences that made the Bungie team realize it was onto something special? So many of them are these unpredictable moments. Moments where you thought one thing was going to happen, but another thing happened. In our game, you’re traveling to this mysterious world where danger could lurk around every corner. Sometimes you turn a corner and you’re face to face with the United Earth Space Council (UESC), these really brutal and dangerous opponents inside of our game. Or sometimes you’re just traversing across the map and bullets are whizzing by from another crew that has seen you. And some of those moments get extremely exciting, because you don’t think you’re going to make it out of it, and you turn the tables, or you just barely eke by, and you find your way out to the exfil. When you get out, you’re just shaking with an awesome intensity that you’re going to remember for a long time. What’s the backstory behind the name “Marathon?” In the original (1994) game, “Marathon” is the name of the colony ship sent out from Earth by the UESC. They sent it past the reaches of our solar system to establish the first colony on a system called Tau Ceti. And so the UESC Marathon is kind of a weird ship built into an asteroid-like moon, and then sent out to make the long journey. …if you were to make me guess, I’d assume that “Marathon” refers to the fact that it was a 500-year journey, and was an appropriate name for a very, very long commitment of travel.  We’re using the Marathon name [for this new 2025 game] because of the legacy of the IP. We’re taking a lot of those familiar IP elements, the UESC Marathon ship as well, and bringing it to light in modern day. We’re reinterpreting a lot of things, but there are a lot of familiar elements as well, such as the ship and Tau Ceti, that I think fans from the past will really enjoy seeing. Bungie is famous for its pitch-perfect gunplay. How do you go about being true to that legacy while making Marathon’s FPS action feel like its own thing? A lot of it comes from the nature of the game and the types of decisions that you want players to be making and how you want them to make those decisions. This game is very much about survival. And in survival-style games, a lot of the pressure is on you to manage resources, be adaptive, and be situationally aware. What we’re doing with our gunplay and our systems is we’re taking a lot of that familiar action base that players really enjoy, and we’re adding intense survival layers on top. For example, you don’t regenerate health automatically very quickly, but you have consumables that help you heal. Part of that is to create moments where you make decisions to either go into battle or fall back. You have to think about the resources that you’re carrying.  View and download image Download the image close Close Download this image Do you have a message for any players curious about extraction shooters, but are a little nervous or intimidated by the risk/reward? I will definitely say that this game is challenging and intense, but it’s very rewarding. As you learn it you’ll feel yourself developing survival skills that you may not have experienced before, that begin to make you feel masterful. We have also designed this game to feel really natural on controllers as well. There are a lot of PC extraction shooters where mouse and keyboard are a little bit more common, and so in designing for that what we’re trying to do is get the interface and gameplay finickiness out so you can play it naturally. We want you to be able to focus on adapting and learning those survival skills to pull off memorable runs. Obviously players are risking their valuable loadouts in a given match. Can you tell us about any persistent progression elements? We want to make sure the players feel like they get something for their time spent in every match. Some of that is going to be experience-based. For example, leveling your runner level in any given season. Some of that will be related to upgrades provided by factions. As you gather materials or get currencies, you’ll be able to increase some of your overall character stats. So you might get a little bit more stamina, or you might be able to loot boxes a little bit faster. Some of it will also increase the options that you have to purchase from an in-game item store called the Black Market. You can use the currency you collect in game to purchase different weapons, implants, and upgrades based on what you unlock inside of that upgrade tree. So as you play the game you’ll see a lot of your options grow. What ways is Bungie taking advantage of PlayStation 5 technology for Marathon? We definitely have haptic support for [DualSense wireless controllers], which is pretty fun when you get into some of those gunfights and you feel feedback on your fingertips. We’re also supporting the Tempest 3D Audio engine, so you’re going to hear a lot of immersive audio.  In addition, a lot of the rendering technology on the PS5, and especially on the PS5 Pro, is really awesome. So we’re planning some awesome usage of PSSR (PlayStation Spectral Super Resolution), and some additional support in upscaling and resolution. So if you have a PS5 or PS5 Pro you’ll be pleasantly surprised by how we deliver on the console.  Play Video Marathon’s art style is not quite like anything else out there right now. Can you walk us through what makes it so striking and unique? Our aesthetic is hugely inspired by graphic design and a lot of modern product design trappings. But I think what really sets us apart is whenever I look at a [Marathon] image, I go, “I think I understand it,” or “I think I don’t… but I really like it.” There’s something really enticing about visuals that look so bold and graphic like something you’d see in print but also pulled onto the screen and mixed with this technological sci-fi shaping. That, and also put against a very organic background and the contrast of all these things really pops. It’s a mixture that I don’t think we’ve seen a lot of before, and we’re really excited by it, because it creates all those visual contrasts and conflicts that go together to help the tone of the game, which is really about paranoia. It’s about intensity. It’s about not knowing the truth you know, seeking to find it, and constantly being wrapped into a rabbit hole of information. You don’t know what’s true or false. So all those things kind of come together really nicely through the art style as well.  Is there anything else you’d like to make sure the PlayStation audience takes away from this big reveal? If you’re a person who really enjoys getting into survival experiences. If you’re a person who really enjoys testing your mettle with other players inside of that space trying to do the same. And if you’re a player who really, just wants to go on a thrilling ride that you never know the outcome of… I think this is going to be a game for you. Especially because we’ve focused so much on making this an experience that translates across platforms really well. I’m especially excited to see PlayStation players come in and experience the genre and our offering inside of it. We’ve poured a lot of passion and love into [Marathon], and we’ve played it a lot, and we played a lot for fun too. So we’re excited to have them join our community, show us what’s good, and show us how good they can be. Marathon launches September 24 on PS5, Steam, and Xbox Series X|S.
    0 Comentários 0 Compartilhamentos 109 Visualizações
  • WWW.ENGADGET.COM
    The Blink Video Doorbell is on sale for a record low price of $30
    Amazon is running a sale on its Blink home security devices. Among the items that have seen a price drop is the Blink Video Doorbell, which is available for a record low of $30. That's half what you might otherwise pay for it. The doorbell allows you to answer your door using your phone. You can see who rang your doorbell via a 1080p video stream (there's an infrared night vision mode) and chat to them using the two-way audio feature. You can also receive alerts when the Video Doorbell detects motion. The Video Doorbell can operate wirelessly on two AA batteries (it comes with a pair). Alternatively, you can hook up the device to existing wiring and it can trigger your existing in-home chime when the button is pressed. Wiring the Video Doorbell or pairing it with a Sync Module (which is sold separately) will allow you to use Alexa to answer your door or bring up a live view of what the camera sees. Other features include privacy settings and custom alerts. However, a paid Blink subscription is needed to save and share video clips on the cloud after a free 30-day trial. The Blink sale also includes a discount on the Mini 2 camera, which is similarly half off. It can be yours for $20. The camera can operate as a plug-in chime for a connected Blink Video Doorbell. It's also our pick for the best budget security camera. Meanwhile, a bundle with the Outdoor 4 cam (our top pick for the best security camera for Alexa users), Video Doorbell and Mini 2 is $100, which is also half off. Follow @EngadgetDeals on X for the latest tech deals and buying advice.This article originally appeared on Engadget at https://www.engadget.com/deals/the-blink-video-doorbell-is-on-sale-for-a-record-low-price-of-30-162649933.html?src=rss
    0 Comentários 0 Compartilhamentos 107 Visualizações
  • WWW.TECHRADAR.COM
    This curling wand looks like a drill and I'm not sure if it's dumb or genius
    MDLondon has reinvented the curling wand, and if it actually works it could be a game-changer.
    0 Comentários 0 Compartilhamentos 80 Visualizações
  • 0 Comentários 0 Compartilhamentos 94 Visualizações
  • WWW.MARKTECHPOST.COM
    A Coding Implementation for Advanced Multi-Head Latent Attention and Fine-Grained Expert Segmentation
    In this tutorial, we explore a novel deep learning approach that combines multi-head latent attention with fine-grained expert segmentation. By harnessing the power of latent attention, the model learns a set of refined expert features that capture high-level context and spatial details, ultimately enabling precise per-pixel segmentation. Throughout this implementation, we will walk you through an end-to-end implementation using PyTorch on Google Colab, demonstrating the key building blocks, from a simple convolutional encoder to the attention mechanisms that aggregate critical features for segmentation. This hands-on guide is designed to help you understand and experiment with advanced segmentation techniques using synthetic data as a starting point. import torch import torch.nn as nn import torch.nn.functional as F import matplotlib.pyplot as plt import numpy as np torch.manual_seed(42) We import essential libraries such as PyTorch for deep learning, numpy for numerical computations, and matplotlib for visualization, setting up a robust environment for building neural networks. Aldo, torch.manual_seed(42) ensures reproducible results by fixing the random seed for all torch-based random number generators. class SimpleEncoder(nn.Module): """ A basic CNN encoder that extracts feature maps from an input image. Two convolutional layers with ReLU activations and max-pooling are used to reduce spatial dimensions. """ def __init__(self, in_channels=3, feature_dim=64): super().__init__() self.conv1 = nn.Conv2d(in_channels, 32, kernel_size=3, padding=1) self.conv2 = nn.Conv2d(32, feature_dim, kernel_size=3, padding=1) self.pool = nn.MaxPool2d(2, 2) def forward(self, x): x = F.relu(self.conv1(x)) x = self.pool(x) x = F.relu(self.conv2(x)) x = self.pool(x) return x The SimpleEncoder class implements a basic convolutional neural network that extracts feature maps from an input image. It employs two convolutional layers combined with ReLU activations and max-pooling to progressively reduce the spatial dimensions, thus simplifying the image representation for subsequent processing. class LatentAttention(nn.Module): """ This module learns a set of latent vectors (the experts) and refines them using multi-head attention on the input features. Input: x: A flattened feature tensor of shape [B, N, feature_dim], where N is the number of spatial tokens. Output: latent_output: The refined latent expert representations of shape [B, num_latents, latent_dim]. """ def __init__(self, feature_dim, latent_dim, num_latents, num_heads): super().__init__() self.num_latents = num_latents self.latent_dim = latent_dim self.latents = nn.Parameter(torch.randn(num_latents, latent_dim)) self.key_proj = nn.Linear(feature_dim, latent_dim) self.value_proj = nn.Linear(feature_dim, latent_dim) self.query_proj = nn.Linear(latent_dim, latent_dim) self.attention = nn.MultiheadAttention(embed_dim=latent_dim, num_heads=num_heads, batch_first=True) def forward(self, x): B, N, _ = x.shape keys = self.key_proj(x) values = self.value_proj(x) queries = self.latents.unsqueeze(0).expand(B, -1, -1) queries = self.query_proj(queries) latent_output, _ = self.attention(query=queries, key=keys, value=values) return latent_output The LatentAttention module implements a latent attention mechanism where a fixed set of latent expert vectors is refined via multi-head attention using projected input features as keys and values. In the forward pass, these latent vectors (queries) attend to the transformed input, resulting in refined expert representations that capture the underlying feature dependencies. class ExpertSegmentation(nn.Module): """ For fine-grained segmentation, each pixel (or patch) feature first projects into the latent space. Then, it attends over the latent experts (the output of the LatentAttention module) to obtain a refined representation. Finally, a segmentation head projects the attended features to per-pixel class logits. Input: x: Flattened pixel features from the encoder [B, N, feature_dim] latent_experts: Latent representations from the attention module [B, num_latents, latent_dim] Output: logits: Segmentation logits [B, N, num_classes] """ def __init__(self, feature_dim, latent_dim, num_heads, num_classes): super().__init__() self.pixel_proj = nn.Linear(feature_dim, latent_dim) self.attention = nn.MultiheadAttention(embed_dim=latent_dim, num_heads=num_heads, batch_first=True) self.segmentation_head = nn.Linear(latent_dim, num_classes) def forward(self, x, latent_experts): queries = self.pixel_proj(x) attn_output, _ = self.attention(query=queries, key=latent_experts, value=latent_experts) logits = self.segmentation_head(attn_output) return logits The ExpertSegmentation module refines pixel-level features for segmentation by first projecting them into the latent space and then applying multi-head attention using the latent expert representations. Finally, it maps these refined features through a segmentation head to generate per-pixel class logits. class SegmentationModel(nn.Module): """ The final model that ties together the encoder, latent attention module, and the expert segmentation head into one end-to-end trainable architecture. """ def __init__(self, in_channels=3, feature_dim=64, latent_dim=64, num_latents=16, num_heads=4, num_classes=2): super().__init__() self.encoder = SimpleEncoder(in_channels, feature_dim) self.latent_attn = LatentAttention(feature_dim=feature_dim, latent_dim=latent_dim, num_latents=num_latents, num_heads=num_heads) self.expert_seg = ExpertSegmentation(feature_dim=feature_dim, latent_dim=latent_dim, num_heads=num_heads, num_classes=num_classes) def forward(self, x): features = self.encoder(x) B, F, H, W = features.shape features_flat = features.view(B, F, H * W).permute(0, 2, 1) latent_experts = self.latent_attn(features_flat) logits_flat = self.expert_seg(features_flat, latent_experts) logits = logits_flat.permute(0, 2, 1).view(B, -1, H, W) return logits The SegmentationModel class integrates the CNN encoder, the latent attention module, and the expert segmentation head into a unified, end-to-end trainable network. During the forward pass, the model encodes the input image into feature maps, flattens and transforms these features for latent attention processing, and finally uses expert segmentation to produce per-pixel class logits. model = SegmentationModel() x_dummy = torch.randn(2, 3, 128, 128) output = model(x_dummy) print("Output shape:", output.shape) We instantiate the segmentation model and pass a dummy batch of two 128×128 RGB images through it. The printed output shape confirms that the model processes the input correctly and produces segmentation maps with the expected dimensions. def generate_synthetic_data(batch_size, channels, height, width, num_classes): """ Generates a batch of synthetic images and corresponding segmentation targets. The segmentation targets have lower resolution reflecting the encoder’s output size. """ x = torch.randn(batch_size, channels, height, width) target_h, target_w = height // 4, width // 4 y = torch.randint(0, num_classes, (batch_size, target_h, target_w)) return x, y batch_size = 4 channels = 3 height = 128 width = 128 num_classes = 2 model = SegmentationModel(in_channels=channels, num_classes=num_classes) criterion = nn.CrossEntropyLoss() optimizer = torch.optim.Adam(model.parameters(), lr=1e-3) num_iterations = 100 model.train() for iteration in range(num_iterations): x_batch, y_batch = generate_synthetic_data(batch_size, channels, height, width, num_classes) optimizer.zero_grad() logits = model(x_batch) # logits shape: [B, num_classes, H/4, W/4] loss = criterion(logits, y_batch) loss.backward() optimizer.step() if iteration % 10 == 0: print(f"Iteration {iteration}: Loss = {loss.item():.4f}") We define a synthetic data generator that produces random images and corresponding low-resolution segmentation targets to match the encoder’s output resolution. Then, we set up and train the segmentation model for 100 iterations using cross-entropy loss and the Adam optimizer. Loss values are printed every 10 iterations to monitor training progress. model.eval() x_vis, y_vis = generate_synthetic_data(1, channels, height, width, num_classes) with torch.no_grad(): logits_vis = model(x_vis) pred = torch.argmax(logits_vis, dim=1) # shape: [1, H/4, W/4] img_np = x_vis[0].permute(1, 2, 0).numpy() gt_np = y_vis[0].numpy() pred_np = pred[0].numpy() fig, axs = plt.subplots(1, 3, figsize=(12, 4)) axs[0].imshow((img_np - img_np.min()) / (img_np.max()-img_np.min())) axs[0].set_title("Input Image") axs[1].imshow(gt_np, cmap='jet') axs[1].set_title("Ground Truth") axs[2].imshow(pred_np, cmap='jet') axs[2].set_title("Predicted Segmentation") for ax in axs: ax.axis('off') plt.tight_layout() plt.show() In evaluation mode, we generate a synthetic sample, compute the model’s segmentation prediction using torch.no_grad(), and then convert the tensors into numpy arrays. Finally, it visualizes the input image, ground truth, and predicted segmentation maps side by side using matplotlib. In conclusion, we provided an in-depth look at implementing multi-head latent attention alongside fine-grained expert segmentation, showcasing how these components can work together to improve segmentation performance. Starting from constructing a basic CNN encoder, we moved through the integration of latent attention mechanisms and demonstrated their role in refining feature representations for pixel-level classification. We encourage you to build upon this foundation, test the model on real-world datasets, and further explore the potential of attention-based approaches in deep learning for segmentation tasks. Here is the Colab Notebook. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. Don’t Forget to join our 85k+ ML SubReddit. Asif RazzaqWebsite |  + postsBioAsif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.Asif Razzaqhttps://www.marktechpost.com/author/6flvq/A Coding Implementation on Introduction to Weight Quantization: Key Aspect in Enhancing Efficiency in Deep Learning and LLMsAsif Razzaqhttps://www.marktechpost.com/author/6flvq/Allen Institute for AI (Ai2) Launches OLMoTrace: Real-Time Tracing of LLM Outputs Back to Training DataAsif Razzaqhttps://www.marktechpost.com/author/6flvq/Can LLMs Debug Like Humans? Microsoft Introduces Debug-Gym for AI Coding Agents
    0 Comentários 0 Compartilhamentos 95 Visualizações
  • WWW.IGN.COM
    The Last of Us: Season 2 Premiere Review – “Future Days”
    The following contains full spoilers for The Last of Us season 2, episode 1, “Future Days.”The season 2 premiere of HBO’s The Last of Us is all about introductions and reintroductions – those friendly and not-so-friendly faces aiming to both enrich and destroy Ellie’s world. Over the course of the five years that have passed since Joel pulled her out of the Fireflies lab, she’s found some stability. But over the course of “Future Days,” we see new relationships flourish and existing ones strain. It’s a strong opening chapter that steadily turns the crank on the rollercoaster we’re about to join Ellie on.Season 1 centered on the burgeoning relationship between Ellie and Joel, so it's slightly jarring to see them barely spend a scene together here. The bond that seemed so solid up until last season’s final moments appears fractured. When they’re together in “Future Days,” they tend to trade angry outbursts and silent, dismissive looks.PlayPascal continues to impress as Joel, playing a softer version of the smuggler than the one Troy Baker played in the games. As shown in glimpses of his life in Jackson, Joel is more pensive and settled back into civilian life – and the construction work and family structure he once had are seemingly revived. His hair has started to grey, and he’s more self-reflective than we’ve seen him before: undergoing therapy and dealing with raising a daughter into womanhood for the first time (seeing as that experience was ripped away from him previously). It’s a nuanced performance from Pascal: In the span of a single scene, you can chart sadness, frustration, and that ever-present sense of self-preservation across his face.In turn, there’s a newfound physicality in Bella Ramsey’s portrayal of Ellie. A barn brawl showcasing the training she’s undergone bridges the events of the first and second seasons. It’s not-too-subtle foreshadowing for the episode’s standout scene when Ellie finds herself face-to-face with a Stalker – a new breed of intelligent infected who cleverly hunt their prey. They were easily my least favourite enemy to run into in The Last of Us Part 2, and that horror is well translated here. Chills are delivered effectively in the background as the Stalker crawls on distant shelves. The near-silence proves even scarier than the clicks of its brethren – its murmured cries are a sad reminder of the humanity lost inside. A crown of fungus adds to that terror, conveying an almost folk-horror feel. It's a shift in their visual design from Part 2, but a welcome one that I enjoy greatly.Showrunners Craig Mazin and Neil Druckmann promised more appearances from the infected in season 2, and that’s apparent from the get-go. Although the Clicker encounter may be less scary than the Boston museum scene of season 1, it still has a chilling effect. It’s clear from the way Ellie and Dina handle the situation that this isn’t their first rodeo – there’s a hint of routine in the way they clear out the store. It has an almost playful feel to it – like two kids breaking into school after dark – and the bottle-throwing distraction is a lovely nod to its stealth-action video game roots.The Last of Us Season 2 Cast: Who's New and Coming Back to the HBO Show?Mazin’s direction of this scene – and all of “Future Days” – eases us back into the darkness of The Last of Us. As much as things change, things stay the same, with Joel's devotion to Ellie seemingly remaining paramount to him despite their relative newfound safety in the community of Jackson. This is best displayed in Joel’s scene with the town’s therapist, performed by the fantastic as-ever Catherine O’Hara. She’s warm but with an underlying threat and vulnerability waiting to jump out.Joel’s willingness to evolve and move on is displayed by the fact that all he wants to talk about is his relationship with Ellie. She is his world now, and nothing else matters, whether it be the infected, fireflies, a cure, or Sarah. What used to be primary issues for him have faded into the background, making the tension between Joel and Ellie even more stark. Even if it’s just glorified emotive exposition, this behind-closed-doors conversation displays the shared grief of everyone in this world wonderfully. Each of these characters has lost something, and Ellie is trying to work out how to communicate with Joel. It points toward this story’s message that there is no correct way to deal with emotions as strong as grief or hatred, with each person having to work it out for themselves. The callback to Joel dealing drugs in the series premiere is a nice touch, too, except this time he’s in search of emotional well-being as opposed to the ration cards.I’ll admit, I was fairly surprised to see the revelation of Abby’s motives so early.“Of course, there’s a spectre hovering above all of this, and she’s played by Kaitlyn Dever. I’ll admit, I was fairly surprised to see the revelation of Abby’s motives so early. We might not have the whole picture yet, but we do know that she’s seeking revenge for Joel’s Firefly massacre. Still, I can’t say I’m a huge fan of this change from the game. I much prefer Abby to be a character shrouded in mystery with her motives remaining unknown for as long as possible – this is what makes the halfway point of the game hit like a hammer. It’s a shame to see this moment already lost here, but I do understand the decision on some level. A TV show doesn’t have the luxury of steadily introducing player agency and its repercussions. I do enjoy Dever’s version of Abby from the little we see here, though. It’s the emergence of a different kind of monster – her bubbling ferocity isn’t as physically signposted as in the game, but she’s fearsome nonetheless. When we see her standing in the snow over Jackson in the premiere’s final moments, this looming threat, combined with the reveal of tendrils growing in exposed pipes, reminds us that there truly is no safe place in this world anymore – to great effect.PlayAbby’s reveal is the first early sign of the timeline being shifted for those familiar with the events of The Last of Us Part 2. The barn dance sequence is an obvious one later too, and although it's beautifully shot and charmingly performed, I can’t help but feel like it’s a moment that would have hit harder had it been a flashback revealed later on, as it is in Part 2. A prime example of this is Dina’s delivery of the line “I think they should be terrified of you”. In the game, this line is delivered right at the very end, and within that context it holds a lot more weight. In this remixed chronology, it merely reads as an omen, which in itself is interesting, but far less effective. It’s just one of a handful of changes from the source material that I feel have been made for no great reason, and result in a weaker emotional response.Dina is given further time to shine when out in the wilds with Ellie. I greatly enjoyed watching the warmness gently burning between the patrol partners, who share some of the same cheeky rebelliousness. She’s a great foil to Ellie, who despite a newly hardened exterior, retains her precocious spirit. It further builds into the feeling that they’re the town’s rebels. Despite the democratic structure in place, they find ways to break the rules and have fun, even when faced with infected-infested buildings they shouldn’t be stumbling into. This feeling is later fortified when they find themselves in front of the town’s council, and they sink into their chairs like naughty children. I like the youthful feel of their scenes here, but I do feel apprehensive about how this dynamic will come across later, knowing the mature content coming up in this story.For all of The Last of Us’ grand themes, it’s also a show that relishes in the small details.“For all of The Last of Us’ grand themes, it’s also a show that relishes in the small details as well. The pure, sweeping snowy landscapes juxtapose against the horrors that await anyone who steps beyond Jackson’s perimeter – a torn-apart bear now in eternal winter hibernation, for example. Another: Ellie is listening to Nirvana’s cover of “Love Buzz,”, which is a nice nod to where these characters’ journeys will eventually take them - both emotionally and geographically. All of these little touches build to a greater whole successfully and result in a strong reintroduction into the world of The Last of Us.
    0 Comentários 0 Compartilhamentos 94 Visualizações
  • WEWORKREMOTELY.COM
    Waite and Associates: Data and Client Services Coordinator
    This is a part or full time position. Seeking 100% remote for US based candidates only.  We are looking for applicants in the US due to time zone alignment and local compliance requirements.  We are a small financial services company based in the West Coast.  Looking for detail oriented data management specialist.  We work as a team to help clients and this position would require good team work with financial advisors and other teamembers in helping with data management and client service work.  Skills include accurate data entry and management of client information.  Professional communication with clients both written and verbal with use of phone and some video if needed.  Seeking customer service oriented individual with excellent multi-tasking and time management skills.   
    0 Comentários 0 Compartilhamentos 87 Visualizações