Skip to content

Commit ef236bc

Browse files
committed
160x90
1 parent de0f99e commit ef236bc

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed
0 Bytes
Binary file not shown.

.idea/compiler.xml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/jelly/NeuralTrainer/data/ScreenDataCollector.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class ScreenDataCollector {
3333
public void startRecording() {
3434
recording = true;
3535
String timestamp = new java.text.SimpleDateFormat("yyyy-MM-dd_HH-mm-ss-SSS").format(new java.util.Date());
36-
raw_dataset = new File("raw_dataset/screendata_80x45_" + mc.thePlayer.getName() + "_" + timestamp + ".txt");
36+
raw_dataset = new File("raw_dataset/screendata_160x90_" + mc.thePlayer.getName() + "_" + timestamp + ".txt");
3737
}
3838

3939
public void stopRecording() {
@@ -90,9 +90,9 @@ public void onTick(TickEvent.ClientTickEvent event) {
9090
grayscaleFullRes[i] = gray;
9191
}
9292

93-
// Downscale to 80 x 45
94-
int targetWidth = 80;
95-
int targetHeight = 45;
93+
// Downscale to 160 x 90
94+
int targetWidth = 160;
95+
int targetHeight = 90;
9696
int scaleX = width / targetWidth;
9797
int scaleY = height / targetHeight;
9898

src/main/java/com/jelly/NeuralTrainer/run/NeuralNetworkRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public class NeuralNetworkRunner {
2525

2626
private static final float[] mouseYBins = {-40, -20, -10, -4, -2, 0, 2, 4, 10, 20, 40};
2727

28-
private static final int frame_x = 80;
29-
private static final int frame_y = 45;
28+
private static final int frame_x = 160;
29+
private static final int frame_y = 90;
3030

3131
private final Minecraft mc = Minecraft.getMinecraft();
3232
private final KeyBinding[] keybinds = {

0 commit comments

Comments
 (0)