Skip to content

Duong's Blog

About technology stuff that piqued my interest

  • English
  • Vietnamese
  • About me

Category: Python

  • Home
  • Python

Tạo adversarial example bằng Tensorflow

January 16, 2022January 24, 2022 duongnt.bk1 Comment on Tạo adversarial example bằng Tensorflow

Adversarial example là tên gọi các ví dụ được tạo ra để đánh lừa model deep learning. Ta sẽ dùng Tensorflow và FSGM để tạo ra một ví dụ như thế.

Python, Vietnamese adversarial-example, deep-learning, python, TensorFlow

Create adversarial example with Tensorflow

January 16, 2022February 2, 2022 duongnt.bkLeave a Comment on Create adversarial example with Tensorflow

An adversarial example is a data point specifically crafted to fool a deep learning model. Today, we will use Tensorflow and FSGM to create one such example.

English, Python adversarial-example, deep-learning, python, TensorFlow

Dùng fast feature extraction để tăng tốc độ train model

January 11, 2022January 17, 2022 duongnt.bk1 Comment on Dùng fast feature extraction để tăng tốc độ train model

Nếu không có GPU thì việc train model sẽ rất tốn thời gian. Lúc này, ta có thể dùng fast feature extraction để tăng tốc độ train.

Python, Vietnamese deep-learning, fast-feature-extraction, python

Utilize fast feature extraction to speed up model training

January 11, 2022February 2, 2022 duongnt.bk1 Comment on Utilize fast feature extraction to speed up model training

It’s very time-consuming to train a deep learning model without a GPU. In that case, we can use fast feature extraction to speed up the training process.

English, Python deep-learning, fast-feature-extraction, python

Tối ưu hóa hyperparameter với KerasTuner

January 7, 2022January 10, 2022 duongnt.bk1 Comment on Tối ưu hóa hyperparameter với KerasTuner

Tối ưu hóa các hyperparameter cho một model deep learning là quá trình phức tạp. Tuy nhiên ta có thể tự động hóa một phần quá trình này bằng KerasTuner.

Python, Vietnamese deep-learning, kerastuner, python

Auto hyperparameters tuning with KerasTuner

January 7, 2022February 2, 2022 duongnt.bk1 Comment on Auto hyperparameters tuning with KerasTuner

Tuning hyperparameters for a deep learning model can be tendious. Fortunately, we can automate part of the tuning process with KerasTuner.

English, Python deep-learning, kerastuner, python

Mixin và đa kế thừa trong Python

December 21, 2021December 21, 2021 duongnt.bkLeave a Comment on Mixin và đa kế thừa trong Python

Mixin là những lớp nhỏ, với mục đích duy nhất là bổ sung tính tăng cho những lớp khác. Chúng cho phép ta tận dụng sức mạnh của đa kế thừa.

Python, Vietnamese inheritance, mixin, python

Mixin and multiple inheritance in Python

December 20, 2021December 20, 2021 duongnt.bk1 Comment on Mixin and multiple inheritance in Python

A mixin is a small class, whose purpose is to extend the functionality of other classes. It’s a useful tool to take advantage of multiple inheritance in Python.

English, Python inheritance, mixin, python

Lưu dữ liệu với định dạng HDF5 bằng h5py

December 15, 2021December 15, 2021 duongnt.bk1 Comment on Lưu dữ liệu với định dạng HDF5 bằng h5py

Đôi khi training data của ta vượt quá dung lượng memory. Định dạng HDF5 cho phép ta đọc dữ liệu từ thiết bị lưu trữ nhanh nhất và hiệu quả nhất có thể.

Python, Vietnamese deep-learning, hdf5, python

Store training data in HDF5 format with h5py

December 14, 2021February 2, 2022 duongnt.bk1 Comment on Store training data in HDF5 format with h5py

Sometimes, our training dataset is too big to fit into memory. The HDF5 format can help us access data from disk as fast and efficiently as possible.

English, Python deep-learning, hdf5, python

Posts navigation

Older posts
Newer posts
Copyright © 2025 Duong's Blog All rights reserved. Theme: Flash by ThemeGrill. Powered by WordPress