Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only red cubes #43

Open
yorklemb opened this issue Jun 5, 2020 · 12 comments
Open

Only red cubes #43

yorklemb opened this issue Jun 5, 2020 · 12 comments

Comments

@yorklemb
Copy link

yorklemb commented Jun 5, 2020

Hi Wyatt,
i have a question i try to generate a 15 min and 45 min map when i use
python beatmapsynth.py '/Volumes/bs/Hangingtree.ogg' 'Example Song' 'normal' 'segmented_HMM' -k 12 --version 1
or
python beatmapsynth.py '/Volumes/bs/Hangingtree.ogg' 'Example Song' 'normal' 'rate_modulated_segmented_HMM' -k 4 --version 1

i get only red cubes und no blue ?
do you have an idea why?
best york

@theace0296
Copy link

My guess would be it picked only red cubes because of the inherit randomness in the way the maps are generated. Does it create the same map every time? You could also try --version 2 and see if it makes something different if just running it again doesn't help.

@yorklemb
Copy link
Author

yorklemb commented Jun 6, 2020

Thank you for the quick answer Ok I try an come later to you
Best regards
York

@wvsharber
Copy link
Owner

This is very strange and I've received another issue stating this as well. I've never had it happen to me, but I can only think of a couple reasons it might have happened: somewhere in my training data there is one or multiple one-handed maps that weren't labeled correctly in beatsaver.com or there are long stretches of one-handed moves in some map. If BeatMapSynth randomly chooses to start in the transition matrices that were trained on those maps, it will be "stuck" in one-handed moves because it can't find transitions that "escape" those one-handed moves.

As far as fixing the problem (if what I think is going wrong is actually the problem), I'd have to find the offending maps, remove them from the training data, and then retrain the Hidden Markov Models. I'm not sure if/when I'll have a chance to do that.

As @theace0296 suggested, you can try using --version 2 which has a much larger training dataset and thus might be less likely to randomly choose these bad maps. You might also play with the value of K, but that may or may not do anything.

I guess one way that could help me diagnose the problem is by providing me with the zip folders that you produced that are all red.

@ozzieem
Copy link

ozzieem commented Jun 6, 2020

Hi, I've had this issue as well where all the cubes are red when loading it in a map loader (I've tried MedoicreMapper, MMA2, and the web-based Beatmapper) and in all instances the map loads with all red cubes. However, when I load the map (directly from being generated without modifying it) to try it in BeatSaber, the cubes are blue and red and it seems to have generated it properly. Although this is ruined as soon as I modify the map (with all red cubes) and when I try it in BeatSaber next time all cubes becomes red as it was shown in the map loader itself.

I should probably mention that I used the electron app by @theace0296 to generate the map in case it matters. I'm too unfamiliar with how it works in deep to provide any ideas but I just wanted to drop this information here in case it would help with the troubleshooting of this issue. Thanks.

@wvsharber
Copy link
Owner

@ozzieem that adds an even more confusing layer to this! I think this problem started happening before the electron app was available, so that shouldn't be part of the problem.

@theace0296
Copy link

@wvsharber I never had any luck with generating my own data, but I could set up an Azure Pipeline to automatically generate data once per day/week (depending on how long it takes). Was there anything you did when setting up Jupyter notebook (ex. a mac-specific module)?

@ghost
Copy link

ghost commented Jun 6, 2020

Hi there!

I had this issue in fact I am still having it and I still have not discovered a fix so I am just waiting for one.

@yorklemb
Copy link
Author

yorklemb commented Jun 6, 2020

Hi,
Ok i try now 8 Version from the same song
all models `random', 'HMM', 'segmented_HMM', or 'rate_modulated_segmented_HMM'
both Version 1 and 2
alle Maps are Difficult "normal"
and it works when you load the maps direkt into the Quest
but if you load them in Beatmapper all cubes are Red.
Funny
Thanks for the clue.
Now i try my 1 hour mix an Try to play it
1000 Thanks

@wvsharber
Copy link
Owner

Very interesting! The plot thickens.

@Slaint46, do you feed your maps from BeatMapSynth into another third party application before playing? Or do you put it directly into Beat Saber?

@theace0296
Copy link

There is a new release of the electron app here:
https://github.com/theace0296/BeatMapSynthesizer/releases/tag/v0.4.0

I doubt anything in it will fix the issues regarding getting only one color of blocks, but it does have some extra customization.

@ghost
Copy link

ghost commented Jun 7, 2020

Hello there!

I only use the beatmapsynth and then put it directly into beat saber then I give it a go and it appears to be only red cubes. When I was using it before it was working with blue and red cubes but now it's just red so I'm not sure what's going on but I hope there is a fix to it!

@sadgrl-online
Copy link

sadgrl-online commented Oct 14, 2021

Hello! I wanted to chime in and say this is happening to me too - only red blocks. I'm going to do some testing with different variations and different songs.

I'm using Windows 10 and cycling through all the different models and settings. Thanks!

P.S. This tool is incredible if I can get it to work. I definitely can't create a beatmap manually, so if this lets me play all of my favorite songs, this might be my favorite project ever :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants