從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...Jian-Kai Wang
複習及補充機器學習與深度學習,說明物件偵測要解決的問題。
探討策略1: One-Shot Solution,舉 YOLO 為例及其 Hands-On 操作,並探討其他相關演算法與其發展;其次探討策略2: Divide-and-Conquer,以 Faster RCNN 為例與利用 Tensorflow Object Detection API 進行練習,探討其他相關演算法與其發展。
最後探討增進訓練結果與演算法發展,並介紹機器學習的推論與應用與應用機器學習導入產業。
We first reviewed the Machine Learning basis, introduced what object detection is, and then described what the problems it is going to solve. (both the localization and the category issues)
Second, we introduced two types of algorithms that represent two different ideas. One is a One-Shot solution and the other is a divide-and-conquer way. The representative algorithm for the one-shot solution is "YOLO" and the other one is "Faster R-CNN". We also implemented the whole YOLO training and inference processes from scratch via Tensorflow 2.0. On the other hand, we introduced how to use Tensorflow Object Detection APIs to implement the whole Faster R-CNN training and inference processes.
Third, we quickly introduced the evolution of several famous object detection algorithms and how to improve training performance and results.
In the final, we introduced the gap between the AI industrial in research and in practice.
從圖像辨識到物件偵測,進階的圖影像人工智慧 (From Image Classification to Object Detection, Advance...Jian-Kai Wang
複習及補充機器學習與深度學習,說明物件偵測要解決的問題。
探討策略1: One-Shot Solution,舉 YOLO 為例及其 Hands-On 操作,並探討其他相關演算法與其發展;其次探討策略2: Divide-and-Conquer,以 Faster RCNN 為例與利用 Tensorflow Object Detection API 進行練習,探討其他相關演算法與其發展。
最後探討增進訓練結果與演算法發展,並介紹機器學習的推論與應用與應用機器學習導入產業。
We first reviewed the Machine Learning basis, introduced what object detection is, and then described what the problems it is going to solve. (both the localization and the category issues)
Second, we introduced two types of algorithms that represent two different ideas. One is a One-Shot solution and the other is a divide-and-conquer way. The representative algorithm for the one-shot solution is "YOLO" and the other one is "Faster R-CNN". We also implemented the whole YOLO training and inference processes from scratch via Tensorflow 2.0. On the other hand, we introduced how to use Tensorflow Object Detection APIs to implement the whole Faster R-CNN training and inference processes.
Third, we quickly introduced the evolution of several famous object detection algorithms and how to improve training performance and results.
In the final, we introduced the gap between the AI industrial in research and in practice.
While the Java platform has gained notoriety in the last 15 years as a robust application platform with a thriving ecosystem and well-established practices, the Java language has had its share of criticism. Highly verbose, overly didactic, limited feature set; whichever flavor of criticism you prefer, it's patently obvious that Java is playing catch up to more modern languages with a less rigid evolution path.
The language landscape today is vastly different than it had been five or ten years ago; a wide array of languages are available, designed to suit a variety of flavors: Groovy, Clojure, Scala, Gosu, Kotlin... which should you choose? This lecture focuses on one company's decision to focus on Scala, and presents a case study based on our experiences using Scala in practice, in the hope of providing much-needed real world context to assist your decision.
This presentation was used for the Scala In Practice lecture at the Botzia Israeli Java User Group meeting, May 3rd 2012.
While the Java platform has gained notoriety in the last 15 years as a robust application platform with a thriving ecosystem and well-established practices, the Java language has had its share of criticism. Highly verbose, overly didactic, limited feature set; whichever flavor of criticism you prefer, it's patently obvious that Java is playing catch up to more modern languages with a less rigid evolution path.
The language landscape today is vastly different than it had been five or ten years ago; a wide array of languages are available, designed to suit a variety of flavors: Groovy, Clojure, Scala, Gosu, Kotlin... which should you choose? This lecture focuses on one company's decision to focus on Scala, and presents a case study based on our experiences using Scala in practice, in the hope of providing much-needed real world context to assist your decision.
This presentation was used for the Scala In Practice lecture at the Botzia Israeli Java User Group meeting, May 3rd 2012.
Scalding: Twitter's Scala DSL for Hadoop/Cascadingjohnynek
Talk given at the 2012 Hadoop Summit in San Jose, CA.
Scalding is a Scala DSL for Cascading which brings natural functional programming to Hadoop. It is open-source, developed by Twitter and others.
Follow: twitter.com/scalding
github.com/twitter/scalding
The great attractiveness of purely functional languages is their ability to depart from sequential order of computation. Theoretically, it enables two important features of the compiler:
1) The ability to reorder computation flow, making the program implicitly parallelisable. Modern imperative language compilers, even using careful synchronization of concurrent code, still generate huge chunks of sequential instructions that need to be executed on a single processor core; a purely functional language compilers can dispatch very small chunks to many (hundreds and thousands) of cores, carefully eliminating as many execution path dependencies as possible.
2) As the compiler formalizes different types of side effects, it can detect a whole new class of program errors at compile time, including resource acquisition and releasing problems, concurrent access to shared resources, many types of deadlocks etc. It is not yet a full-fledged program verification, but it is a big step in that direction.
Scala is a semi-imperative language with strong support for functional programming and rich type system. One can isolate the purely functional core of the language which can be put on the firm mathematical foundation of dependent type theories. We argue that it is possible to treat Scala code as it's written by now as an implicit do-notation which can be then reduced to a purely functional core by means of recently introduced Scala macros. The formalism of arrows and applicative contexts can bring Scala to a full glory of an implicitly parallelisable programming language, while still keeping its syntax mostly unchanged.
Learn what is Chromecast and which are its possibilities in order to cast content from your mobile device (smartphone or tablet, Android or iOS) and website. Also, library dependencies and publishing options are analyzed.
This presentation is for enterprises that are considering adopting Scala. The author is managing editor of http://scalacourses.com, which offers self-paced online courses that teach Introductory and Intermediate Scala and Play Framework.
Project Lambda, JSR 335:
1.) Reasons to introduce lambda expressions
2.) What are lambda expressions, comparison with closures
3.) Short history (BGGA, CICE, FCM)
4.) Project Lambda
5.) Syntax and semantics
6.) Default and static interface methods
7.) Stream API
8.) Performance
https://github.com/Crazyjavahacking/talksSamples/tree/master/projectLambda
Part 1/3 of our Devoxx University session. An introduction to some of the features of Java 7!
We're still working out where to host the torrent of our Virtual Box image with the coding exercises, we'll update the description when we sort it out.
Session presented at the 6th IndicThreads.com Conference on Java held in Pune, India on 2-3 Dec. 2011.
http://Java.IndicThreads.com
---
My talk would describe how to build DSL’s using Scala, what features in Scala help make it a great option for building DSL’s and some examples of DSL’s built in Scala.
http://www.indicthreads.com/9254/using-scala-for-building-dsls/
Can you believe that the Scala programming language is already 13 years old? Scala was an experiment back in 2003, but there are no questions today about its success and its great influence on other languages, especially on Java. In this session we will travel time, going back to the age when Java was the hacker’s drink, while Pizza was the hacker’s food. We will glance through some of the memorable moments, and land in the present days to introduce all the goodnesses available in the upcoming Scala 2.12 release. Finally, we will take a brief but intense look at what we can expect from the future. Prepare your time traveling equipment, and be ready to rewind the clock to more than 20 years ago!
Concurrency and Multithreading Demistified - Reversim Summit 2014Haim Yadid
Life as a software engineer is so exciting! Computing power continue to rise exponentially, software demands continue to rise exponentially as well, so far so good. The bad news are that in the last decade the computing power of single threaded application remains almost flat.
If you decide to continue ignoring concurrency and multi-threading the gap between the problems you are able to solve and your hardware capabilities will continue to rise. In this session we will discuss different approaches for taming the concurrency beast, such as shared mutability,shared immutability and isolated mutability actors, STM, etc we will discuss the shortcomings and the dangers of each approach and we will compare different programming languages and how they choose to tackle/ignore concurrency.
Java Performance Fundamental 세미나 자료입니다. 6장은 Thread Synchronization를 다루고 있습니다. 여기서는 Java에서 Thread라는 것은 어떻게 관리되어 왔으며 동기화는 어떤 역할을 하는지를 설명합니다. 더 나아가 JVM의 버전이 올라가면서 추가된 Hotspot JVM의 Biased Lock이나 IBM JVM의 Lock Reservation에 대해서도 설명하고 있습니다.
* Java의 Thread
* Java Synchronization
* Hotspot JVM Synchronization
* IBM JVM Synchronization
Writing concurrent programs that can run in multiple threads and on multiple cores is crucial but daunting. Futures provides a convenient abstraction for many problem domains. The online course "Intermediate Scala" includes an up-to-date discussion of futures and the parts of java.util.concurrent that underlie the Scala futures implementation. Unlike Java's futures, Scala futures supports composition, transformations and sophisticated callbacks.
The author is managing editor of http://scalacourses.com, which offers self-paced online courses that teach Introductory and Intermediate Scala and Play Framework.
Over 9 weeks of my internship, I learned Scala and worked on migrating a back-end service from Ruby to Scala. Over the course of the experience I discovered some reasons that Ruby works well for prototyping, while Scala works well for production.
Talk given to Sacramento Ruby Meetup for the September, 2010 meeting. Examples adapted from the great book Metaprogramming Ruby: Program Like the Ruby Pros by Paolo Perrotta
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
2. Who am I
• Filippo Pacifici
• Twitter: OddId_
• mail: filippo.pacifici@gmail.com
• Blog: http://outofmemoryblog.blogspot.com
• One of the 9M devs thinking Java is not so bad
• recently started looking at Scala
mercoledì 23 maggio 12
3. What’s this all about?
• Apply Java profiling methods to Scala
programs
• How do we deal with performance in
Java?
• Is it the same in Scala?
• How do we optimize a JVM for Scala
applications?
mercoledì 23 maggio 12
6. Java profiling 101
• Ehi, I use Scala, why should I care about Java
profiling?
• Scala compiled in byte code and runs in a
JVM
• We can profile a Scala application as it
was Java
• We can use the same tools
• I am not aware of alternatives
mercoledì 23 maggio 12
7. Java methods profiling
• Tracks methods invocations
• Runtime instrumentation
• Time analysis
mercoledì 23 maggio 12
8. Java memory profiling
• Dumps heap content
• Browse objects in the heap
• Memory usage analysis
mercoledì 23 maggio 12
9. Profiling tools
• Method profiling
• Java Visual VM (embedded in JDK)
• Yourkit, Dynatrace, etc.
• Memory profiling
• Eclipse MAT (www.eclipse.org/
mat)
• Yourkit, Dynatrace, etc.
mercoledì 23 maggio 12
10. Back to Scala...
• We won’t find Scala specific constructs
• Need to know how Scala is translated
into bytecode
• Goals:
• Identify methods generated by Scala
compilers
• Characterize Scala data structures in
memory
mercoledì 23 maggio 12
13. Scala functions vs byte code
• Classic functions converted in methods
• First class function do not exist in Java
• Anonymous classes extending
scala.runtime.AbstractFunction
• apply method to execute.
mercoledì 23 maggio 12
14. AbstractFunction
• AbstractFunction2
• takes 2 input parameters
• One apply method per
combination of input and
output types
• example apply.mcFID
• F= returns float
• I takes one Int
• D takes one Double
mercoledì 23 maggio 12
15. AbstractFunction
• Find the call in the profile:
• anonfun => instance of the anonymous class
• main$1 => first anonymous class defined in
main method
mercoledì 23 maggio 12
16. Functions in the heap
• Each instance of AbstractFunction present
in the heap
• Very small impact
• Stateless
mercoledì 23 maggio 12
17. Where do we use them?
• Our program did not contain any anonymous
function, right?
• AbstractFunction used:
• For first class functions
• For closures
• For partially applied functions
• To manage for loops blocks
• To manage filter logic in for loops
mercoledì 23 maggio 12
18. Performance impact
• Is this a performance impact?
• Scala compiler performs optimizations:
• Same anonymous functions reused
(avoid multiple instantiations)
• Anonymous functions doing the same
thing are shared
• Attention to partially applied:
• New function created.
mercoledì 23 maggio 12
21. Scala Lists
• A Scala view:
• Linked lists (single link)
• abstract class List + two case classes: ::
and Nil
mercoledì 23 maggio 12
22. Scala Lists
• A byte code view:
• Case classes become inner classes:
• :: becomes $colon$colon
• Nil becomes Nil
mercoledì 23 maggio 12
23. Scala Lists
• Heads and elements have the same type
mercoledì 23 maggio 12
24. Scala Lists
• What about mutable lists?
• ListBuffer
• Wrapper on a Linked List
• Keeps an additional reference to the
last element: last0
mercoledì 23 maggio 12
25. Scala Sets
• Immutable sets
• scala.collection.immutable.Set
• Case classes for different sizes
• HashSet over 5 elements
mercoledì 23 maggio 12
26. Scala Maps
• Immutable:
• small number of elements:
scala.collections.immutable.Map$MapN
• N = number of elements
• over 5 elements:
scala.collection.immutable.HashMap
• Mutable: scala.collection.mutable.HashMap
mercoledì 23 maggio 12
29. Primitive types and
generics
• Type parameters cannot be primitive in
generic types.
• Scala systematically boxes and unboxes
them to Object
• scala.runtime.BoxesRunTime methods
mercoledì 23 maggio 12
31. Exploit tail recursion
• Long recursion
• Long stack
• Performance impact on stack size
• Scala compiler recognizes tail recursion
• Recursive call must be the last operation
of the method
• Scala transforms it into iterative form
mercoledì 23 maggio 12
32. Can’t exploit tail
recursion?
• If (and only if) you run out of stack space
(frequent java.lang.StackOverflowError):
• -Xss JVM option sets stack size
• example: -Xss2048k
• Normally limited at OS level
• Each thread statically allocates stack size:
• pay attention
mercoledì 23 maggio 12
33. Memory structure
• Optimize for small, short lived objects
• Anonymous functions:
• small
• frequently instantiated
• Use a big young space
• GC is fast and frequent
• Objects do not get promoted
mercoledì 23 maggio 12
34. Memory structure
• What about the perm gen?
• Anonymous classes reused
• No insane usage of proxies
• No specific issues
mercoledì 23 maggio 12
35. Which GC should I use?
• Depends on your application requirements
• The same consideration done for Java
still hold
• Need throughput : parallel GC
• Need response time : CMS
• You are brave : G1
mercoledì 23 maggio 12