[Linux] Use XFCE Terminal to Display The Terminal Background
Last Updated on 2022-07-28 by Clay
I wonder if you often adjust your terminal to make it looks more beautiful?
Read More »[Linux] Use XFCE Terminal to Display The Terminal BackgroundLast Updated on 2022-07-28 by Clay
I wonder if you often adjust your terminal to make it looks more beautiful?
Read More »[Linux] Use XFCE Terminal to Display The Terminal BackgroundLast Updated on 2022-07-28 by Clay
When we create a python function, sometimes we pass some parameters for it, even set the default value for the parameters, let the function can work if we have no pass any parameter.
Read More »[Python] The Problem with Functions Using Mutable Objects as Default ParametersLast Updated on 2022-07-27 by Clay
Kaggle Notebook offers a not-so-short GPU-acceleration time every week, and updated every Saturday. Because of this, I recommend using Kaggle Notebook over Google Colab.
Read More »[Machine Learning] Continuously Train the Model on Kaggle Notebook (Can Close the Session)Last Updated on 2022-07-26 by Clay
Today I need to preserve the EOF (End Of the File) of each file when processing multi-file read and merge, and I want to be able to read line by line to avoid the burden of loading the entire file at once on the memory.
Read More »[Python] How to Judge the EOF (End Of the File) of A FileLast Updated on 2022-07-25 by Clay
Python is a good language for data processing, and its package pandas provides many convenient functions. What I want to record today is to display a progress bar through the tqdm package when using pandas DataFrame iterrows()
to iterate over the data.
Last Updated on 2022-07-24 by Clay
Today, I checked the code left by my predecessors, I found a strange problem. I think, that is the code that the predecessors discarded that are not in use and just haven’t been deleted.
Read More »[Solved][Python] “_csv.reader” object is not subscriptableLast Updated on 2022-07-23 by Clay
Today when I installed pytorch-lightning package in the Kaggle virtual environment, I got the following error message:
Read More »[Solved] Cannot uninstall ‘PyYAML’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.Last Updated on 2022-07-23 by Clay
PyTorch Lightning is a framework that encapsulates native PyTorch in a more advanced level, just like Keras does to Tensorflow (although I remember a lot of backends that Keras can support).
Read More »[Machine Learning] Introduction of ‘pytorch-lightning’ packageLast Updated on 2022-07-22 by Clay
We can execute the AppleScript script file on Mac OS default terminal. In additional to this method, the easiest way to test it to use the system default Script Editor.
Read More »[MacOS] Executing AppleScript Script on TerminalLast Updated on 2022-07-22 by Clay
AppleScript is a native scripting language on Mac OS, and it is useful for calling many functions on Mac OS. For example: customize resize an application window size.
Read More »[Python] How to Execute AppleScript in Code