The code is working - the problem is it's sending extra information. You no longer use the old size-based image names. After that, every image can be re-represented ; 4.based on the above work, I can train my final classifier B. note:for predict a new image, its SIFT vectors must be transform by classifier A into the vector as classifier B's input Can you give me some advice? The short version without the cursor looks like this: DECLARE @ImageData VARBINARY(max) DECLARE @FullPathToOutputFile NVARCHAR(2048); SELECT @ImageData = pic FROM Employees WHERE id=5 SET @FullPathToOutputFile = 'C:\51.jpg' DECLARE @ObjectToken INT EXEC sp_OACreate 'ADODB.Stream', @ObjectToken OUTPUT; EXEC sp_OASetProperty @ObjectToken, 'Type',... Before you write it out with ImageIO, create a BufferedImage first. You can access the individual decision trees in the estimators_ attribute of a fitted random forest instance. What is the daytime visibility from within a cloud? input{ display: none; } label{ display: inline-block; width: 100px; height: 100px; position: relative; border: 4px solid transparent; } input:checked + label{ border: 4px solid #f00; }