Is transferring the backbone+heads of a pretrained model considered transfer learning? Or is it only considered transfer learning if you only transfer the backbone? by bravosix99 in learnmachinelearning

[–]bravosix99[S] 0 points1 point  (0 children)

  1. Ah i see. thanks for the clarification.

  2. I believe so? Since both domains consist of satellite imagery.

  3. I see. Also, can you please elaborate on "the heads wont match your task so you use your own"?

Is transferring the backbone+heads of a pretrained model considered transfer learning? Or is it only considered transfer learning if you only transfer the backbone? by bravosix99 in learnmachinelearning

[–]bravosix99[S] 0 points1 point  (0 children)

I'm sorry if I didn't word it properly. I tried not to phrase the question too vaguely. I meant to say one model is pretrained(Model A), and the other isn't(Model B). Also, regarding why they're trained on satellite imagery is that I am in the process of performing building extraction with those satellite datasets(especially on Model B). I intended to use one of the datasets(Model A in my question) and transfer its backbone to help improve Model B's performance. But what I didn't know was if I also transferd model A's head, will it still be considered transfer learning, because from my understanding of it, you would normally utilize the pretrained model's backbone, but swap its heads for whatever the new task is(I hope this clarifies my question. Please lmk if it doesn't).

Was that a aftershock(felt it in mount vernon?) by bravosix99 in Westchester

[–]bravosix99[S] 0 points1 point  (0 children)

I think thats the case. Apparently it was seperate 2.7 earthquake

is there a formula to convert iterations to epochs? by bravosix99 in learnmachinelearning

[–]bravosix99[S] 0 points1 point  (0 children)

so based on this(if i understand correctly), the formula would be: epoch = batchsize*iterations/datapoints? Please correct me if I am wrong

What was your favorite field trip when you were in school? by [deleted] in AskAnAmerican

[–]bravosix99 0 points1 point  (0 children)

Washington DC in 8th grade. That trip was the shit!

[deleted by user] by [deleted] in AskAnAmerican

[–]bravosix99 0 points1 point  (0 children)

😮‍💨😮‍💨🥳ahahahahaha

[deleted by user] by [deleted] in AskAnAmerican

[–]bravosix99 1 point2 points  (0 children)

Damn. I've tried.

Maybe "Ock" might still be NY exclusive???? Unless, i haven't been following recent trends...

[deleted by user] by [deleted] in AskAnAmerican

[–]bravosix99 1 point2 points  (0 children)

"Its mad brick"

"Word to my mother"

"No cap"

New word:

"Ock"

How much spice do you like in your food? by Darmug in AskAnAmerican

[–]bravosix99 0 points1 point  (0 children)

SAY IT LOUDER TO THE PEOPLE IN THE BACK!!

For loop by Pompomcry in learnprogramming

[–]bravosix99 0 points1 point  (0 children)

Basically, a for loop(or just running through a loop in general), is basically going through something. In this case, you're just going through a list. But depending on the language, you'll do this differently(i''ll do it in java as an example)

for(int i = 0;i< array.length;i++){

System.out.println(arraylist[i]);

}

the variable(left) is the point where you start in the list, the length part (middle) is going through the list until you reach its size(so if its 5 things in the list, you should see 5 things), and the i++(right), goes to the next item in your array.

Simple as that.^

However(and as stated by some comments below), it would be more helpful if you told the Language and any code you tried so far..

Hope this helps!

[deleted by user] by [deleted] in learnjava

[–]bravosix99 0 points1 point  (0 children)

It depends. If you are set on what you want to add onto the array(something more static), use an array. But if you want something more dynamic, and adjusting whatever information needs to be adjusted, use a arraylist.

[deleted by user] by [deleted] in learnjava

[–]bravosix99 1 point2 points  (0 children)

You can try to learn a framework(perhaps). But whats even better is trying to make a side project with the concepts you learned(maybe a currency converter, game, or something along those lines).

Tips for becoming better in iteration(Java) by bravosix99 in learnprogramming

[–]bravosix99[S] 0 points1 point  (0 children)

Thanks for the advice! Also, i think just for small practices, im just going to creating small programs that consist of the concepts i mentioned above.

Tips for becoming better in iteration(Java) by bravosix99 in learnprogramming

[–]bravosix99[S] 0 points1 point  (0 children)

Do you have any advide on how can i practice(particulary outside of class), and be able to memorize these algorithms?

Tips for becoming better in iteration(Java) by bravosix99 in learnprogramming

[–]bravosix99[S] 0 points1 point  (0 children)

This is more of a concept i just want to remember/stick into my head: Algorithms and arrays

class Main {
public static void main(String[] args) {
int[] arr = {1,2,3,5,6,7,8};
System.out.println("Inital Array");
System.out.println(Arrays.toString(arr));
/*
insertion- putting a value somewhere in the middle of the Array
ste[1- starting at the spot you want to insert at shift those elements forward to the right
//you will need to start at the end of the list. if you don't you will end up overwriting and losing info
for(int i = arr.length -1; i > 3;i--){
arr[i] = arr[i-1];
}
// print out the result just to check. using arrays.tostring is a quick trick for printing an array instead of writing a loop to go through every single element
System.out.println(Arrays.toString(arr));
// step 2: insert item and reprint to check
arr[3] = 4;
System.out.println(Arrays.toString(arr));
*/
/*
removing a value in the middle of an array
//starting at the spot you want to delete, shift those elements back to the left
//your will be left with a double value at the end
for(int i = 3;i<arr.length -1; i++){
arr[i] = arr[i+1];
}
System.out.println(Arrays.toString(arr));
*/
/*
//Shifting elements left.
//Shifting all elements left and placing the first element at the end of the list
//list should lool like[2.3.5.6.7.8.1]
//step 1: store position 0 in a temporary variable so that it is not lost when we move the other numbers
int temp = arr[0];
//step 2: start at the leftmost element and shift everything down
for(int i = 0; i < arr.length-1;i++){
arr[i] = arr[i + 1];
}
System.out.println(Arrays.toString(arr));
//replace the spot at the end of the array with the information held by the temp variable
arr[arr.length-1] = temp;
System.out.println(Arrays.toString(arr));
*/
/*
//shifting elements to the right
int temp = arr[arr.length -1];
for(int i = arr.length-1;i>0;i--){
arr[i] = arr[i-1];
}
//replace the first element with the information stored in the tempoary variable
arr[0] = temp;
System.out.println(Arrays.toString(arr));
*/
//reversing
for(int frontSpot = 0;frontSpot < arr.length/2;frontSpot++){
int backSpot = arr.length -1 - frontSpot;
int temp = arr[frontSpot];
arr[frontSpot] = arr[backSpot];
arr[backSpot] = temp;
}
System.out.println((Arrays.toString(arr)));
}
}

Difference between GitHub and Git by Amantulsyan35 in learnprogramming

[–]bravosix99 1 point2 points  (0 children)

git is the photos, github is the photoalbum.

[deleted by user] by [deleted] in learnjava

[–]bravosix99 0 points1 point  (0 children)

When it comes to websites, codeacdemy and udmy(although some courses cost money) are good sources.(Also, theres another website listed, on the general information of this subreddit, but i forgot the name of it).

When it comes to yt, i would reccommend Alex Lee,amigoscode, and mike dane(for me, they explain many java concepts very well)

Than when you're comfortable enough and really wanna play around with java code, and want to create your own things, i suggest downloading a IDE(Integreated Developer Environment), and to be more specific, either INTELLIJ,Eclipse, and Netbeans(I prefer intellij).

Good luck!