-
Notifications
You must be signed in to change notification settings - Fork 45
在运行sabdab.py代码,发生报错 #21
Comments
定位到报错的语句,在那块位置改为if---else---语句 |
why?数据问题吗?还是什么呢? |
需要修改数据预处理PDBParesr.py的源代码
lllliy ***@***.***> 于2024年9月14日周六 11:16写道:
… 发生异常: ValueError invalid literal for int() with base 10: 'X' File
"/home/ubuntu/wcl/github/diffab/diffab/datasets/sabdab.py", line 314, in
_preprocess_structures data_list = joblib.Parallel( File
"/home/ubuntu/wcl/github/diffab/diffab/datasets/sabdab.py", line 286, in
_load_structures self._preprocess_structures() File
"/home/ubuntu/wcl/github/diffab/diffab/datasets/sabdab.py", line 228, in
__init__ self._load_structures(reset) File
"/home/ubuntu/wcl/github/diffab/diffab/datasets/sabdab.py", line 443, in
get_sabdab_dataset return SAbDabDataset( File
"/home/ubuntu/wcl/github/diffab/diffab/datasets/_base.py", line 17, in
get_dataset return _DATASET_DICT[cfg.type](cfg, transform=transform) File
"/home/ubuntu/wcl/github/diffab/train.py", line 56, in <module>
train_dataset = get_dataset(config.dataset.train) ValueError: invalid
literal for int() with base 10: 'X'
why?数据问题吗?还是什么呢?
—
Reply to this email directly, view it on GitHub
<#21 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAOE47RSNRZ5PZSOCHP6T73ZWOTBBAVCNFSM6AAAAAAZKAD4FKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQHAYDQNBYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
你好,请问第二个问题你是如何解决的 |
在运行sabdab.py代码,发生报错,请问该如何解决呀
![20230617-131318](https://private-user-images.githubusercontent.com/136072830/246587074-c4449eb7-9063-4fbd-b9e6-7a652f13e87a.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzE1ODMsIm5iZiI6MTczOTYzMTI4MywicGF0aCI6Ii8xMzYwNzI4MzAvMjQ2NTg3MDc0LWM0NDQ5ZWI3LTkwNjMtNGZiZC1iOWU2LTdhNjUyZjEzZTg3YS5qcGVnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTQ1NDQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDQ0ZmY0MDllNDZhZmEyYjBiOWE4MmFkOGUxYjkwZjQ2YmEzN2YzMmJkZWQxNmZlMmRiZjczYThhNTJiMGI3OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.IA9v56a0KKkcbx7kP5X9RYnfQJLwsz00YoqKCM9mppY)
第一个错误:报ValueError: invalid literal for int() with base 10: 'V'异常,
第二个错误如图,请教这两个问题都是怎么合理解决的呀
The text was updated successfully, but these errors were encountered: