#Applio tensorboard error

1 messages · Page 1 of 1 (latest)

slate widget
#

After running the batch this error appears

foggy maple
#

the compiled version should have no issues with run-tensorboard.bat

#

you should not be using any other .bat files (from the doc) for applio, that's was for original rvc

#

@slate widget

slate widget
#

so should i just do the steps to install tensorboard

bleak plaza
#

then you can run it as so

#

Paste in the path and hit enter ( or few times if cmd froze )

#

pro tip; you can open up terminal in that folder by typing in cmd in the address bar and hit enter:

foggy maple
slate widget
bleak plaza
slate widget
#

yeah

bleak plaza
#

you should only go my route if what he said doesn't work
@foggy maple Unless you wanna help him?

bleak plaza
foggy maple
#

if your fork has the same requirements, then there's nothing else is needed

#

run-tensorboard.bat start tensorboard with the path to logs

bleak plaza
#

not relying on venvs

#

that's why

#

anyways.. you can try to help him maybe

foggy maple
#

independent one requires python installed, then it can just be run from a commandline

foggy maple
#

tensorboard --logdir=G:\Applio\logs\Singing_40k

slate widget
#

you want me to run that in cmd?

foggy maple
#

that's just an example how you start it if you had tensorboard installed into the main python repo

slate widget
#

when i meant steps i also just meant this

foggy maple
#

tensorboard venv batch creates a virtual environment you dont need

#

but when you start tensorboard it does tell you what URL to use

slate widget
#

so what am i exactly supposed to do

foggy maple
#

if you ran tensorvenv.bat, use it again

slate widget
#

when i tried doing that it just also said this

foggy maple
#

you need to install python first

slate widget
#

after installing python and running it again this also happens

foggy maple
#

fkinh hell

#

open command prompt

#

do where python

#

if your output has 1st line as C:\Users\user\AppData\Local\Programs\Python\Python311\python.exe

#

then next command is pip install tensorboard

#

if you get windowsapps version 1st, either remove this from envrironment variables path or move them down

slate widget
#

where do i also get to the edit environment variable from the environemtn variable area

#

ignore the message above i figured it out and when i did both commands and checked if there was or was not a windowsapp and then ran tensor again it said the same thing and if you need more of the top this is it

foggy maple
#

pip install numpy==1.23.5

#

but you may be missing something

slate widget
#

still doesnt work

bleak plaza
slate widget
bleak plaza
#

which python ver did you install?
also what numpy?

#

pip show numpy

pip show tensorboard

#

to check the versions

slate widget
#

1.23.5 for numpy and 2.1.0 tensorboard

bleak plaza
#

Hmmm..
Imma suggest you to just yeet python ( that is, if you don't use anything else that needs it )
and get 3.10.6 version

#

and once you have all fresh, just pip install tensorboard

#

I mean, yea, that's one way to approach it if you can't debug the issue

slate widget
#

version 3.10.6 of?

bleak plaza
slate widget
#

and how do i exactly do that

bleak plaza
#

after you done it, test in cmd:

py

#

if it works, means it works

#

and re-test

foggy maple
#

3.11 or 3.10 does not matter

slate widget
#

after doing everything it just says this

#

when i also ran tensorenv the output just got simplified

bleak plaza
#

simply type in 'py'

bleak plaza
#

¯_(ツ)_/¯

slate widget
bleak plaza
#

why are you running it in rvc?

#

just open normal cmd

#

that's all

slate widget
#

still doesnt work

bleak plaza
#

there

#

then: pip install tensorboard

slate widget
bleak plaza
#

wut

#

bro

#

why are you copying " > "

#

it is for discord formatting

aaaaa

#

^

slate widget
#

its just a part of it cant delete it

bleak plaza
#

it's not hard cmon, just type it

#

it's darn 3 words

#

well

#

did you add python to path?

slate widget
#

yeah

bleak plaza
#

show how you set it

#

@slate widget

#

the scripts part must be missing for you

#

if you have to, copy it as it is just replace my username with yours ofc

#

@slate widget Did you do it?

#

No offense, I'm quite busy rn so can't be sitting here all day long

slate widget
#

yeah i did

bleak plaza
#

does it work now?

slate widget
#

nope

bleak plaza
#

what does it say?

slate widget
#

the exact same thing as before

foggy maple
#

can you answer me

#

where python

#

what does it return

slate widget
foggy maple
#

so you dont have python installed and added to path

bleak plaza
#

bro, I told you to uninstall windows python and get the normal one

foggy maple
#

env variables must have

#

as 1st line

bleak plaza
foggy maple
#

fix that

#

open new command prompt

#

verify that where python returns the right thing

#

after that pip install tensorboard

#

once that installs without errors

#

tensorboard --logdir=c:\wherever\your\logs\are

bleak plaza
#

he has windows one tho

foggy maple
#

does not matter

bleak plaza
#

does for aliases

foggy maple
#

normal python in path would cancel it

#

even better if he removes windowsapps from the path

bleak plaza
#

well in any case, hope you can help him
as I'm a lil busy rn

foggy maple
#

all this could've been avoided if he checked [x] add python to path during install

bleak plaza
#

thing is

#

windows store one doesn't ask for it, afaik

#

so all in all, relying on win store for essential things like that is a nogo

slate widget
#

still says same thing about doing pip install and the where python command and yes this is in the path variable

bleak plaza
#

go to your path

#

and confirm you have anything there

#

C:\Users\<username>\AppData\Local\Programs\Python\Python310\

slate widget
#

etc and share is missing

bleak plaza
#

python.exe is there?

slate widget
#

yeah

bleak plaza
#

which alias you tried, py or python, in cmd

slate widget
#

py

bleak plaza
#

looks like so?

slate widget
#

yeah

bleak plaza
#

try:
py -m pip

slate widget
bleak plaza
#

try:
where pip

slate widget
bleak plaza
#

huh

#

py -m ensurepip --upgrade

#

use this

#

then try again

slate widget
#

and also for the where pip still says same thing after command

bleak plaza
#

weird shit weird shit

#

just do

py -m pip install tensorboard

slate widget
bleak plaza
#

now try:
tensorboard

in cmd

slate widget
bleak plaza
#

well

#

at this point I'll just say

completely oblitare python from your pc and reinstall all fresh, this time use normal installer and check " add to path "

slate widget
#

same version right?

bleak plaza
#
  1. uninstall from windows store
  2. control panel / programs
  3. in location C:\Users\<YourUser>\AppData\Local\Programs\Python\ remove all folders / files in there

3.1 - optional; restart pc

  1. get python 3.10.6 ( or really 3.11 but I'm a fan of 3.10 so anime_smug )
    4.1. ensure " add to path " is checked
  2. test in command line you can use " py "
  3. try again " pip install tensorboard "
#

And if all of that fails? goddamn heck I dunno. would be probs the most mysterious situation I've encountered so far

slate widget
#

the command did work this time but it still doesnt work for the env thing so do you want me to update this or no?

bleak plaza
#

other than that, it's fine

#

you can now use the tensorboard bat I provided before

#

for the record; just paste the path to wherever you keep tensorboard files / folders with such ( if you do comparisons ) and hit enter
gonna open up in browser automatically

slate widget
#

website doesnt work after pasting the path to it

bleak plaza
#

hit enter few times in the tensorboard cmd ( because if you click on cmd, it idles

#

might be it froze

#

then alt tab to browser and done

#

also, example. Just in case:

#

I typically like to nest folders with various runs' tensorboard files, in model's folder

#

( just ensure they're in different folders than eval. eval is always per-current run. other / past tensorboard files should not be placed in there else your graphs will screw up

#

example ^

#

Hope all's clear now

slate widget
#

after the path is put in the website doesnt work after reloading and clicking enter on the cmd also wont work because of the press any key to close at the bottom

bleak plaza
#

well, perhaps your ports are locked

#

@slate widget
right click on the bat and edit

#

then use this as port " 5000 " ( and if failed, try: 6006 <- which is tensorboard's default iirc )

#

I set 25565 as default cause of minecraft lol don't ask

slate widget
#

none of them worked

bleak plaza
#

oh my bad, this one too

slate widget
#

did try that

bleak plaza
# slate widget did try that

then I honestly don't know

search up some guide on unlocking ports on pc, then try to unlock 25565 or 6006, maybe 5000

slate widget
#

the only reason i need tensorboard is just to check one thing and ill probably use tensorboard like that one time and never use it again

bleak plaza
#

also, smh, you coulda' said it in the first place

#

cause then we'd all save the hassle and idk, could just open the file for you on my end

slate widget
#

Just check how many epochs I need for one single file and the only reason I didn’t say it in the first place because I didn’t expect it to do multiple days of troubleshooting just to not work

bleak plaza
#

Well, it is either what Noobies said, meaning that built-in tensor works without any issue
or you'd follow my approach which grants more freedom and flexibility in evaluations

#

Typically users have no issue installing tensorboard and using my script but I guess your case's special

#

So like you know, just use whatever applio has, as noobies said

slate widget
#

Yeah I did like first thing and last thing but still says the same exact thing

#

Also yeah i unlocked all the ports tried them all out and none of them worked so I pretty much can’t use tensorboard at all and the env version also still doesn’t work

bleak plaza
#

now that's what you call legit unlucky

foggy maple
#

make sure the bottom checkbox is checked, pick 'install now'

#

tested on a clean win10 install

slate widget
# foggy maple

Was 100% checked off so I probably just can’t fix the issue at all

foggy maple
#

if you did not check it during install, you can always manually add the paths to the Path

slate widget
#

Because when I ran it after I finished adding everything it pretty much said something similar to what it said at the beginning which was something along the lines of this

foggy maple
#

show the full message

#

did you somehow install python 32-bit?

slate widget
#

I doubt it because I just installed the version code gave me

foggy maple
#

there's no reason for pip install tensorboard to compile anything

slate widget
#

I mean you could technically just check how many epochs I need for my file and be done with all this

bleak plaza
#

just to make sure, you did pick this one, ye?

slate widget
#

Yeah I did

foggy maple
#

so are you gonna show the full error screenshot or nah?

slate widget
#

Well I’m just saying to save you the hassle just let me give one of you the file check the epochs and we’ll just be done

slate widget
#

also my applio just stopped working like it has the same error as the tensorboard applio

#

so im assuming something that was troubleshooted for tensorboard messed up applio

livid gulch
#

just create a notebook from Applio_kaggle.ipynb (?) in the applio repo

slate widget
#

and what do i do after i created the notebook

livid gulch
#

it is my tweaked one tho

slate widget
#

so what start am i putting the code in

foggy maple
#

how about you just wipe whatever you have installed, simply download the compiled version of applio and unzip it

#

no need to fiddle with python or other libraries

foggy maple
#

if it can not find rvc module, it means the rvc folder is missing in Applio's folder

#

either you deleted it or you not extract the compiled version properly

slate widget
#

Also after doing a few of the past troubleshooting and reinstalling applio, tensorboard and applio finally work but when I launch tensorboard and go to the website it says this

slate widget
#

wdym by no logs in the logs folder

forest wigeon
slate widget
foggy maple
#

i meant

slate widget
#

yeah i dont have that

slate widget
#

none of the folders also have that file

livid gulch
#

you havent done anything at all

#

from preprocessing step

slate widget
#

all i did was just get the link to tensorboard from the batch file and open the link up

foggy maple
#

so what log do you want to see?

slate widget
#

scalar

foggy maple
#

i mean you have no log

#

events.out file

#

where is it?

#

you train a model, training process creates a log file

slate widget
#

dont have that file

slate widget
foggy maple
#

and makes charts, you look at the charts and figure out when to stop

#

that's how it works

slate widget
#

So use the applio trainer?

slate widget
livid gulch
#

also have you tried tensorVENV.bat as in the docs?

#

(sorry kinda lazy to scroll up here cat_wtf )

slate widget
#

It was in the eval folder which is basically this but replace the finetune with the name of my model

foggy maple
#

so you start tensorboard that points to logs

slate widget
foggy maple
#

it should pick up all logs in the folder

slate widget
slate widget
#

this is also what it looks like even with the event file

foggy maple
#

try running from command line like tensorboard --inspect --logdir G:\logs

#

it should show an output of what' wrong

#

like no logs found

pastel halo
#

I have been having this problem too my model was training too quick

slate widget
#

this is also the top if needed

slate widget
#

so I guess its something to do with importing

foggy maple
#

this all makes zero sense

slate widget
#

So basically I can’t do anything about it?

foggy maple
#

I don't know how you've fucked up your windows install to that point and whether there's any way to unfuck it

#

how about this

#

open command prompt in C:

#

try to reproduce this

#

you can edit the path to the log folder as needed

slate widget
#

When I do the bottom command it just says “—logdir is not recognized as an internal or external command, operable program or batch file.”

foggy maple
#

show me a screenshot

slate widget
foggy maple
#

read my screenshot again

#

and change the path to your actual logs folder

slate widget
#

how would I edit the path for the .bat file

foggy maple
#

edit .bat in notepad

slate widget
#

Yeah I did do that but it still has the original path and the path was definitely saved because I checked back at it after I saw it didn’t work and it still had my path but it didn’t on tensorboard