Comments (5)
I am not using that library and I run the code in python 3.7 which doesn't have that library. Maybe if you can copy the error code here to see which line of the code causes it, I can help you better.
from soundclr.
Error:C:\Users\52937\Anaconda3\python.exe "F:/123/Contrastive Learning/code/SoundCLR-main/SoundCLR-main/train_contrastiveLoss.py"
Traceback (most recent call last):
File "F:/123/Contrastive Learning/code/SoundCLR-main/SoundCLR-main/train_contrastiveLoss.py", line 21, in
import dataset_ESC50 as dataset
File "F:\123\Contrastive Learning\code\SoundCLR-main\SoundCLR-main\dataset_ESC50.py", line 5, in
import transforms
File "C:\Users\52937\Anaconda3\lib\site-packages\transforms_init_.py", line 1, in
from .safe_html import safe_html, bodyfinder
File "C:\Users\52937\Anaconda3\lib\site-packages\transforms\safe_html.py", line 1, in
from sgmllib import SGMLParser, SGMLParseError
ModuleNotFoundError: No module named 'sgmllib'
Process finished with exit code 1
- import dataset_ESC50 as dataset
- import transforms
- from .safe_html import safe_html, bodyfinder
- from sgmllib import SGMLParser, SGMLParseError
These are four lines of code that indicate errors.
Looking forward to your reply !
from soundclr.
I updated couple of the lines including line 5 in dataset_ESC50.py. I changed "import transforms" to "from utils import transforms". I think this should solve the error that you are getting. I also made couple of updates in other import commands in the code.
Please let me know if changing the import commands take care of this issue.
from soundclr.
Thank you very much. This problem has been solved !
from soundclr.
Great, thanks for noticing this issue.
from soundclr.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soundclr.