Closed yewonkim01 closed 1 day ago
@yewonkim01 Thank you first for the typo (I will revise it to the final version) and questions.
Wow, we didn't know that. I borrowed the code from the official repository, and I agree that the terms 'W' and 'H' seem to be swapped. However, I think the operation itself works correctly because bbx1 and bbx2 are derived from size[2] (referred to as W in the code, originally H), and bby1 and bby2 are derived from size[3] (referred to as H in the code, originally W). Each bbx and bby are mapped to dim[2] and dim[3] of x correctly.
Yes, the official code is from 2019, so it's outdated. Thank you for the comment. I can't believe this code is already five years old...
@yjyoo3312 Thank you for the clarification and the comment. So that's why I see the warning about np.int being deprecated! Now I understood. Additionally, it seems that the issue #39 that I uploaded hasn't been counted in the participation score. Could you please check that again?
@yewonkim01 Thank you for the notification:) I changed the score in e-class regarding Issue 39, as well.
typo
p.5 men -> mean![image](https://github.com/PiLab-CAU/ComputerVision-2401/assets/115199510/5f910a55-22fa-45e5-a0bc-fce03b391e10)
p.12 dtaset -> dataset![image](https://github.com/PiLab-CAU/ComputerVision-2401/assets/115199510/a506791f-0d95-48aa-89f2-575b45b14254)
p.14 RandomResize"d"Crop![image](https://github.com/PiLab-CAU/ComputerVision-2401/assets/115199510/736456b9-8568-45bf-afe0-93a83921f290)
question
p.20![image](https://github.com/PiLab-CAU/ComputerVision-2401/assets/115199510/ce02c4bf-d46a-43b7-b042-6596c500656b)
NCWH -> NCHW In PyTorch, the dimension order of input values is known to be NC"HW". However, in the CutMix slide, it seems to be in NC"WH" order. So I think in W = size[2], 2 should be changed to 3 and in H = size[3], 3 should be changed to 2. Additionally, in the cutmix_data function on the left, since the third dimension is H and the fourth dimension is W, I think the order of bbx and bby should be swapped. Am I correct?
np.int deprecated I knew that np.int has been deprecated in PyTorch. Currently, np.int32 or np.int64 is being used. Could you please check this?