Open maxboels opened 3 years ago
I got it to work by installing pytorch-lightning=1.1.8 and changing pl.metrics.Fbeta
to pl.metrics.FBeta
in feature_extraction.py
.
@leonmayer I come up with these errors
########################ArgParseSummaryEnd########################
Output path: /local_datasets/cholec80/output/231110-174404_FeatureExtraction_Cholec80FeatureExtract_cnn_TwoHeadResNet50Model
test extract enabled. Test will be used to extract the videos (testset = all)
Subsampling(factor: 25) data: 25fps > 1.0fps
train: 2157640 > 86306
val: 535933 > 21438
Subsampling(factor: 25) data: 25fps > 1.0fps
test: 4612530 > 184502
Traceback (most recent call last):
File "/data/obama0404/repos/TeCNO/train.py", line 136, in
my pytorch version is
python 3.9.18 h955ad1f_0
python-dateutil 2.8.2 pypi_0 pypi
pytorch 2.0.1 py3.9_cuda11.7_cudnn8.5.0_0 pytorch
pytorch-cuda 11.7 h778d358_5 pytorch
pytorch-lightning 1.1.8 pypi_0 pypi
why does this error occur?
Do you have any solutions or thoughts?
Thanks.
Seems like a problem with the GPUs, what does torch.cuda.is_available()
output?
Hi, it's Oh Sung Choo
Thanks for the reply
I found that wasn't a problem at all
it was all about wandb key login
i had no idea what to do if this error occured
raise UsageError("api_key not configured (no-tty). call " + directive) wandb.errors.UsageError: api_key not configured (no-tty). call wandb.login( key=[your_api_key])
Then I figured it out how to solve this error
i don't know if pytorch_lightning version matters
but i solved it with
wandb.login wadb.init in train.py
Thanks. 2023년 11월 13일 (월) 오후 5:35, leonmayer @.***>님이 작성:
Seems like a problem with the GPUs, what does torch.cuda.is_available() output?
— Reply to this email directly, view it on GitHub https://github.com/tobiascz/TeCNO/issues/11#issuecomment-1807677476, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBUQGCEPZ45UTHQBBPAMX4DYEHLWBAVCNFSM5C3PSKPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBQG43DONZUG43A . You are receiving this because you commented.Message ID: @.***>
That's great to hear! :)
:bug: Bug
Hello,
I'm trying to run "python train.py -c modules/cnn/config/config_feature_extract.yml" but get some errors. I tried to get around some of them, but this 'self.log()' error seems very deep within the "pytorch-lightning==0.8.5" version installed.
Expected behaviour
self.log() should be an attribute of the FeatureExtraction class.
Environment